gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1453950 - /gump/metadata/project/commons-proper.xml
Date Thu, 07 Mar 2013 16:39:06 GMT
Author: sebb
Date: Thu Mar  7 16:39:06 2013
New Revision: 1453950

URL: http://svn.apache.org/r1453950
Log:
Initial attempt to convert fileupload to Maven build
Note: original Ant build did not run tests

Modified:
    gump/metadata/project/commons-proper.xml

Modified: gump/metadata/project/commons-proper.xml
URL: http://svn.apache.org/viewvc/gump/metadata/project/commons-proper.xml?rev=1453950&r1=1453949&r2=1453950&view=diff
==============================================================================
--- gump/metadata/project/commons-proper.xml (original)
+++ gump/metadata/project/commons-proper.xml Thu Mar  7 16:39:06 2013
@@ -512,16 +512,23 @@
   <project name="commons-fileupload" groupId="commons-fileupload">
     <package>org.apache.commons.fileupload</package>
     <description>Commons File Upload Package</description>
-    <ant basedir="fileupload" target="jar" buildfile="build-gump.xml">
-      <property name="maven.final.name" value="commons-fileupload-@@DATE@@"/>
-    </ant>
-    <depend project="ant" inherit="runtime"/>
-    <depend project="xml-xerces"/>
-    <depend project="xml-apis"/>
-    <depend project="commons-beanutils"/>
-    <depend project="jakarta-servletapi-5-servlet"/>
-    <depend project="portals-pluto-api-1.0"/>
-    <depend project="commons-io"/>
+    <mvn2 basedir="fileupload" goal="package">
+      <property name="skipTests" value="true"/>
+    </mvn2>
+    <!-- 
+    Output from mvn dependency:list
+    
+    commons-io:commons-io:jar:2.2:compile
+    javax.servlet:servlet-api:jar:2.4:provided
+    junit:junit:jar:4.11:test
+    org.hamcrest:hamcrest-core:jar:1.3:test
+    portlet-api:portlet-api:jar:1.0:provided
+    
+    TODO: the following may need adjusting
+    -->
+    <option project="jakarta-servletapi-5-servlet"/>
+    <option project="portals-pluto-api-1.0"/>
+    <option project="commons-io"/>
 
     <work nested="fileupload/target/classes"/>
     <home nested="fileupload/target"/>
@@ -531,6 +538,15 @@
     <nag to="dev@commons.apache.org" from="Gump &lt;issues@commons.apache.org&gt;"/>
   </project>
 
+  <project name="commons-fileupload-test">
+    <depend project="commons-fileupload"/>
+    <mvn2 basedir="fileupload" goal="test"/>
+    <option project="junit"/>
+    <report nested="fileupload/target/surefire-reports"/>
+    <nag to="dev@commons.apache.org"
+         from="Gump &lt;issues@commons.apache.org&gt;"/>
+  </project>
+
   <project name="commons-functor">
     <package>org.apache.commons.functor</package>
     <description>Functor: Function Objects</description>



Mime
View raw message