geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r356140 - /geronimo/gbuild/trunk/gbuild-report/pom.xml
Date Mon, 12 Dec 2005 04:19:19 GMT
Author: dblevins
Date: Sun Dec 11 20:19:16 2005
New Revision: 356140

URL: http://svn.apache.org/viewcvs?rev=356140&view=rev
Log:
Build the resources.zip and put it in the jar

Modified:
    geronimo/gbuild/trunk/gbuild-report/pom.xml

Modified: geronimo/gbuild/trunk/gbuild-report/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-report/pom.xml?rev=356140&r1=356139&r2=356140&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-report/pom.xml (original)
+++ geronimo/gbuild/trunk/gbuild-report/pom.xml Sun Dec 11 20:19:16 2005
@@ -7,6 +7,30 @@
   <version>1.0-SNAPSHOT</version>
   <name>GBuild Report</name>
   <url>http://maven.apache.org</url>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+	<executions>
+	  <execution>
+	    <phase>process-classes</phase>
+	    <goals>
+	      <goal>run</goal>
+	    </goals>
+	    <configuration>
+	      <tasks>
+		<mkdir dir="${basedir}/target/classes/META-INF/org/apache/geronimo/gbuild/report"/>
+		<zip destfile="${basedir}/target/classes/META-INF/org/apache/geronimo/gbuild/report/resources.zip">
+		  <fileset dir="${basedir}/src/main/report-resources"/>
+		</zip>
+	      </tasks>
+	    </configuration>
+	  </execution>
+	</executions>
+      </plugin>
+    </plugins>
+  </build>
   <dependencies>
     <dependency>
       <groupId>velocity</groupId>



Mime
View raw message