geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r410936 - in /geronimo/sandbox/gshell/trunk/gshell-retro-assembly: pom.xml src/main/assembly/bin.xml
Date Thu, 01 Jun 2006 20:19:13 GMT
Author: jdillon
Date: Thu Jun  1 13:19:13 2006
New Revision: 410936

URL: http://svn.apache.org/viewvc?rev=410936&view=rev
Log:
Using new retrotranslator plugin... ooooh ya baby!
To enable `mvn -Denv=release`


Modified:
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml

Modified: geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml?rev=410936&r1=410935&r2=410936&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml (original)
+++ geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml Thu Jun  1 13:19:13 2006
@@ -39,48 +39,33 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <version>1.0</version>
                 <executions>
                     <execution>
-                        <phase>compile</phase>
+                        <id>unpack-assembly</id>
+                        <phase>generate-sources</phase>
                         <goals>
-                            <goal>run</goal>
+                            <goal>unpack</goal>
                         </goals>
                         <configuration>
-                            <tasks>
-                                <taskdef name="retrotranslator" classpathref="maven.plugin.classpath"
-                                    classname="net.sf.retrotranslator.transformer.RetrotranslatorTask"/>
-                                
-                                <mkdir dir="${pom.basedir}/target"/>
-                                <unzip src="${pom.basedir}/../gshell-assembly/target/gshell-${pom.version}-bin.zip"
-                                    dest="${pom.basedir}/target"/>
-                                
-                                <retrotranslator verify="false" failonwarning="true" lazy="true"
verbose="false">
-                                    <src>
-                                        <fileset dir="${pom.basedir}/target/gshell-${pom.version}">
-                                            <include name="**/*.jar"/>
-                                        </fileset>
-                                    </src>
-                                </retrotranslator>
-                            </tasks>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>${pom.groupId}</groupId>
+                                    <artifactId>gshell-assembly</artifactId>
+                                    <version>${pom.version}</version>
+                                    <type>zip</type>
+                                    <classifier>bin</classifier>
+                                </artifactItem>
+                            </artifactItems>
+                            
+                            <outputDirectory>${pom.basedir}/target/scratch</outputDirectory>
                         </configuration>
                     </execution>
                 </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>net.sf.retrotranslator</groupId>
-                        <artifactId>retrotranslator-transformer</artifactId>
-                        <version>1.0.4</version>
-                        <type>jar</type>
-                    </dependency>
-                </dependencies>
             </plugin>
             
-            <!--
-            
-            TODO: Pending application of http://jira.codehaus.org/browse/MOJO-406
-            
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>retrotranslator-maven-plugin</artifactId>
@@ -98,7 +83,7 @@
                             <verbose>false</verbose>
                             <includes>
                                 <include>
-                                    <directory>${pom.basedir}/target/gshell-${pom.version}</directory>
+                                    <directory>${pom.basedir}/target/scratch/gshell-${pom.version}</directory>
                                     <pattern>**/*.jar</pattern>
                                 </include>
                             </includes>
@@ -106,7 +91,6 @@
                     </execution>
                 </executions>
             </plugin>
-            -->
             
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

Modified: geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml?rev=410936&r1=410935&r2=410936&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml (original)
+++ geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml Thu Jun
 1 13:19:13 2006
@@ -12,7 +12,7 @@
     
     <fileSets>
         <fileSet>
-            <directory>target/gshell-1.0.0-SNAPSHOT</directory>
+            <directory>scratch/target/gshell-1.0.0-SNAPSHOT</directory>
             <outputDirectory>/</outputDirectory>
             <includes>
                 <include>*</include>
@@ -22,7 +22,7 @@
         </fileSet>
         
         <fileSet>
-            <directory>target/gshell-1.0.0-SNAPSHOT/bin</directory>
+            <directory>scratch/target/gshell-1.0.0-SNAPSHOT/bin</directory>
             <outputDirectory>bin</outputDirectory>
             <includes>
                 <include>gshell.bat</include>
@@ -32,7 +32,7 @@
         </fileSet>
         
         <fileSet>
-            <directory>target/gshell-1.0.0-SNAPSHOT/bin</directory>
+            <directory>scratch/target/gshell-1.0.0-SNAPSHOT/bin</directory>
             <outputDirectory>bin</outputDirectory>
             <includes>
                 <include>gshell</include>



Mime
View raw message