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-unsubscr...@jakarta.apache.org
For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org

Reply via email to