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 2007/01/08 05:34:31 UTC

svn commit: r493940 - /jakarta/commons/proper/fileupload/trunk/pom.xml

Author: niallp
Date: Sun Jan  7 20:34:30 2007
New Revision: 493940

URL: http://svn.apache.org/viewvc?view=rev&rev=493940
Log:
Specify maven.compile.source/target properties which removes the need for the overriding the compiler plugin configuration. mave jar plugin can also be removed once version 2 of the comms-parent pom is released

Modified:
    jakarta/commons/proper/fileupload/trunk/pom.xml

Modified: jakarta/commons/proper/fileupload/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/pom.xml?view=diff&rev=493940&r1=493939&r2=493940
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/pom.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/pom.xml Sun Jan  7 20:34:30 2007
@@ -111,6 +111,10 @@
     <developerConnection>scm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/fileupload/trunk</developerConnection>
     <url>http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk</url>
   </scm>
+  <properties>
+    <maven.compile.source>1.3</maven.compile.source>
+    <maven.compile.target>1.3</maven.compile.target>
+  </properties> 
 
   <build>
     <sourceDirectory>src/java</sourceDirectory>
@@ -126,13 +130,10 @@
       </resource>
     </resources>
     <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.3</source>
-          <target>1.3</target>
-        </configuration>
-      </plugin>
+      <!--
+       TODO: remove the following when commons-parent is released
+             or switch to commons-parent 2-SNAPSHOT version
+       -->
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
@@ -140,8 +141,8 @@
             <manifestFile>src/conf/MANIFEST.MF</manifestFile>
             <manifestEntries>
               <Specification-Version>${project.version}</Specification-Version>
-              <X-Compile-Source-JDK>1.3</X-Compile-Source-JDK>
-              <X-Compile-Target-JDK>1.3</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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org