commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r437835 - /jakarta/commons/trunks-proper/pom.xml
Date Mon, 28 Aug 2006 21:04:01 GMT
Author: psteitz
Date: Mon Aug 28 14:04:01 2006
New Revision: 437835

URL: http://svn.apache.org/viewvc?rev=437835&view=rev
Log:
Changed parent to apache, added nightly build profile, added resources to ensure NOTICE, LICENSE
are included in jars.

Modified:
    jakarta/commons/trunks-proper/pom.xml

Modified: jakarta/commons/trunks-proper/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/trunks-proper/pom.xml?rev=437835&r1=437834&r2=437835&view=diff
==============================================================================
--- jakarta/commons/trunks-proper/pom.xml (original)
+++ jakarta/commons/trunks-proper/pom.xml Mon Aug 28 14:04:01 2006
@@ -2,9 +2,9 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <groupId>org.apache.jakarta</groupId>
-    <artifactId>jakarta</artifactId>
-    <version>1-SNAPSHOT</version>
+    <groupId>org.apache</groupId>
+     <artifactId>apache</artifactId>
+     <version>3</version>
   </parent>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons</artifactId>
@@ -66,8 +66,17 @@
           <jdkLevel>1.3</jdkLevel>
         </configuration>
       </plugin>
-
     </plugins>
+    <resources>
+      <resource>
+        <directory>${basedir}</directory>
+        <includes>
+          <include>NOTICE.txt</include>
+          <include>LICENSE.txt</include>
+        </includes>
+        <targetPath>META-INF</targetPath>
+      </resource>
+    </resources>
   </build>
 
   <!-- Example configuration for compiler source and target JVM -->
@@ -77,8 +86,21 @@
     <maven.compile.target>1.3</maven.compile.target>
   </properties> 
   -->
-
-  <modules>
-  </modules>
+  <!-- Redefine distribution Management to include only snapshot repo
+       and set uniqueVersion to true for nightly builds, which will
+       use -P CLI to specify this profile -->
+  <profiles>
+    <profile>
+      <id>nightly-build</id>
+      <distributionManagement>
+        <snapshotRepository>
+          <uniqueVersion>true</uniqueVersion>
+          <id>apache.snapshots</id>
+          <name>Apache Development Snapshot Repository</name>
+          <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+        </snapshotRepository>
+      </distributionManagement>
+    </profile>
+  </profiles>
 </project>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message