From: erik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Date: Sun, 11 Apr 2010 14:53:37 +0000 (+0000)
Subject: Now the pom complies to the requirements of the central maven repo.
X-Git-Tag: wamblee-utils-0.2~1^2~26
X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=fa45ae8a9b91bb14de404c07afac1d08e4c72cc2;p=utils

Now the pom complies to the requirements of the central maven repo.

Only thing to do is to get rid of other repositories in the pom
---

diff --git a/pom.xml b/pom.xml
index 10886154..24fcd42a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,19 @@
     <packaging>pom</packaging>
     <version>0.2-SNAPSHOT</version>
     <name>/</name>
+    <description>wamblee.org utilities library</description>
     <url>http://wamblee.org</url>
+    <licenses>
+        <license>
+            <name>The Apache Software License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+    <scm>
+        <url>http://wamblee.org/svn/public</url>
+    </scm>
+
     <modules>
         <module>support</module>
         <module>system</module>
@@ -54,7 +66,7 @@
             <artifactId>slf4j-jdk14</artifactId>
             <scope>test</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
@@ -63,7 +75,7 @@
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-all</artifactId>
-            <version>1.8.0</version> 
+            <version>1.8.0</version>
             <scope>test</scope>
         </dependency>
 
@@ -77,25 +89,25 @@
     </dependencies>
 
     <dependencyManagement>
-        <dependencies> 
-		
-		  <dependency>
-            <groupId>oro</groupId>
-            <artifactId>oro</artifactId>
-            <version>2.0.6</version>
-          </dependency>
+        <dependencies>
 
-		
             <dependency>
-              <groupId>javax.transaction</groupId>
-              <artifactId>transaction-api</artifactId>
-              <version>1.1</version>
+                <groupId>oro</groupId>
+                <artifactId>oro</artifactId>
+                <version>2.0.6</version>
+            </dependency>
+
+
+            <dependency>
+                <groupId>javax.transaction</groupId>
+                <artifactId>transaction-api</artifactId>
+                <version>1.1</version>
             </dependency>
 
             <dependency>
-              <groupId>junit</groupId>
-              <artifactId>junit</artifactId>
-              <version>4.4</version>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>4.4</version>
             </dependency>
             <dependency>
                 <groupId>org.dbunit</groupId>
@@ -301,7 +313,7 @@
                 <artifactId>commons-codec</artifactId>
                 <version>1.3</version>
             </dependency>
-            
+
             <dependency>
                 <groupId>commons-dbcp</groupId>
                 <artifactId>commons-dbcp</artifactId>
@@ -312,14 +324,14 @@
                 <artifactId>toplink-essentials</artifactId>
                 <version>2.0-36</version>
             </dependency>
-			<dependency>
-              <groupId>org.eclipse.persistence</groupId>
-              <artifactId>eclipselink</artifactId>
-              <version>2.0.0</version>
-              <scope>compile</scope>
+            <dependency>
+                <groupId>org.eclipse.persistence</groupId>
+                <artifactId>eclipselink</artifactId>
+                <version>2.0.0</version>
+                <scope>compile</scope>
             </dependency>
 
-            
+
 
         </dependencies>
     </dependencyManagement>
@@ -484,10 +496,34 @@
         <repository>
             <id>EclipseLink Repo</id>
             <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
-        </repository>    
+        </repository>
 
     </repositories>
 
+    <profiles>
+        <profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+
     <properties>
         <spring.version>2.0.8</spring.version>
         <jmock.version>2.4.0</jmock.version>