You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2006/02/15 02:17:53 UTC
svn commit: r377911 - in /jakarta/commons: sandbox/exec/trunk/pom.xml
sandbox/openpgp/trunk/pom.xml trunks-sandbox/pom.xml
Author: niallp
Date: Tue Feb 14 17:17:48 2006
New Revision: 377911
URL: http://svn.apache.org/viewcvs?rev=377911&view=rev
Log:
Update m2 builds to use properties to set X-Compile-Source-JDK and X-Compile-Target-JDK in the jar's manifest - thanks for the suggestion to dantran and Wendy Smoak
Modified:
jakarta/commons/sandbox/exec/trunk/pom.xml
jakarta/commons/sandbox/openpgp/trunk/pom.xml
jakarta/commons/trunks-sandbox/pom.xml
Modified: jakarta/commons/sandbox/exec/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/exec/trunk/pom.xml?rev=377911&r1=377910&r2=377911&view=diff
==============================================================================
--- jakarta/commons/sandbox/exec/trunk/pom.xml (original)
+++ jakarta/commons/sandbox/exec/trunk/pom.xml Tue Feb 14 17:17:48 2006
@@ -57,4 +57,11 @@
<url>scp://minotaur.apache.org/www/jakarta.apache.org/commons/sandbox/exec/</url>
</site>
</distributionManagement>
+
+ <!-- Compiler source and target JVM (see parent pom) -->
+ <properties>
+ <maven.compile.source>1.3</maven.compile.source>
+ <maven.compile.target>1.3</maven.compile.target>
+ </properties>
+
</project>
Modified: jakarta/commons/sandbox/openpgp/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/openpgp/trunk/pom.xml?rev=377911&r1=377910&r2=377911&view=diff
==============================================================================
--- jakarta/commons/sandbox/openpgp/trunk/pom.xml (original)
+++ jakarta/commons/sandbox/openpgp/trunk/pom.xml Tue Feb 14 17:17:48 2006
@@ -52,5 +52,12 @@
<url>scp://minotaur.apache.org/www/jakarta.apache.org/commons/sandbox/openpgp/</url>
</site>
</distributionManagement>
+
+ <!-- Compiler source and target JVM (see parent pom) -->
+ <properties>
+ <maven.compile.source>1.3</maven.compile.source>
+ <maven.compile.target>1.3</maven.compile.target>
+ </properties>
+
</project>
Modified: jakarta/commons/trunks-sandbox/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/trunks-sandbox/pom.xml?rev=377911&r1=377910&r2=377911&view=diff
==============================================================================
--- jakarta/commons/trunks-sandbox/pom.xml (original)
+++ jakarta/commons/trunks-sandbox/pom.xml Tue Feb 14 17:17:48 2006
@@ -85,8 +85,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.3</source>
- <target>1.3</target>
+ <source>${maven.compile.source}</source>
+ <target>${maven.compile.target}</target>
</configuration>
</plugin>
<plugin>
@@ -95,11 +95,8 @@
<archive>
<manifestEntries>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
- <!-- TODO: How to reference the source/target config from the compiler plugin? -->
-<!--
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
--->
</manifestEntries>
</archive>
</configuration>
@@ -116,6 +113,15 @@
</plugin>
</plugins>
</build>
+
+ <!-- Example configuration for compiler source and target JVM -->
+ <!--
+ <properties>
+ <maven.compile.source>1.3</maven.compile.source>
+ <maven.compile.target>1.3</maven.compile.target>
+ </properties>
+ -->
+
<reporting>
<plugins>
<!-- TODO: should be omitted when there are no tests to run -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org