Now the pom complies to the requirements of the central maven repo.
authorErik Brakkee <erik@brakkee.org>
Sun, 11 Apr 2010 14:53:37 +0000 (14:53 +0000)
committerErik Brakkee <erik@brakkee.org>
Sun, 11 Apr 2010 14:53:37 +0000 (14:53 +0000)
Only thing to do is to get rid of other repositories in the pom

pom.xml

diff --git a/pom.xml b/pom.xml
index 10886154bd827a0dd27793be5ae003afc2a5c3b5..24fcd42a037f5ce37889c8179c84797b4c2ebe61 100644 (file)
--- 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>
 
     </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>
                 <artifactId>commons-codec</artifactId>
                 <version>1.3</version>
             </dependency>
-            
+
             <dependency>
                 <groupId>commons-dbcp</groupId>
                 <artifactId>commons-dbcp</artifactId>
                 <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>
         <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>