geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r778562 - /geronimo/xbean/trunk/xbean-asm-shaded/pom.xml
Date Tue, 26 May 2009 05:17:28 GMT
Author: dblevins
Date: Tue May 26 05:17:26 2009
New Revision: 778562

URL: http://svn.apache.org/viewvc?rev=778562&view=rev
Log:
Small trick to make the shaded classes available on the first build: i.e. unpack the shaded
jar into the target/classes dir.

Modified:
    geronimo/xbean/trunk/xbean-asm-shaded/pom.xml

Modified: geronimo/xbean/trunk/xbean-asm-shaded/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-asm-shaded/pom.xml?rev=778562&r1=778561&r2=778562&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-asm-shaded/pom.xml (original)
+++ geronimo/xbean/trunk/xbean-asm-shaded/pom.xml Tue May 26 05:17:26 2009
@@ -54,6 +54,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>run</goal>
+	    </goals>
+            <configuration>
+              <tasks>
+                <unzip src="${project.build.directory}/xbean-asm-shaded-${pom.version}.jar"
dest="${project.build.directory}/classes" />
+	      </tasks>
+	    </configuration>
+	  </execution>
+	</executions>
+      </plugin>
     </plugins>
   </build>
   <dependencies>



Mime
View raw message