jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r929322 - /jakarta/bsf/branches/bsf3.x/pom.xml
Date Tue, 30 Mar 2010 22:43:00 GMT
Author: sebb
Date: Tue Mar 30 22:42:59 2010
New Revision: 929322

URL: http://svn.apache.org/viewvc?rev=929322&view=rev
Log:
Use property to define compile versions

Modified:
    jakarta/bsf/branches/bsf3.x/pom.xml

Modified: jakarta/bsf/branches/bsf3.x/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/pom.xml?rev=929322&r1=929321&r2=929322&view=diff
==============================================================================
--- jakarta/bsf/branches/bsf3.x/pom.xml (original)
+++ jakarta/bsf/branches/bsf3.x/pom.xml Tue Mar 30 22:42:59 2010
@@ -36,6 +36,8 @@
     <properties>
         <bsf.version>${project.version}</bsf.version>
         <junit.version>3.8.2</junit.version>
+        <maven.compile.source>1.4</maven.compile.source>
+        <maven.compile.target>1.4</maven.compile.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
@@ -88,10 +90,10 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0.2</version>
+                <version>2.1</version>
                 <configuration>
-                    <source>1.4</source>
-                    <target>1.4</target>
+                    <source>${maven.compile.source}</source>
+                    <target>${maven.compile.target}</target>
                 </configuration>
             </plugin>
 
@@ -121,8 +123,8 @@
                             <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
                             <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
                             <Implementation-Version>${pom.version}</Implementation-Version>
-                            <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
-                            <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
+                            <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>



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


Mime
View raw message