Hello,

I have a multi project build with Maven 2 and when it is complete, I want to copy several files to a common directory. Currently I am using the Ant plugin to do this. Is there a more "Maven appropriate" implementation?

snippet
   <plugins>
     <plugin>
       <artifactId>maven-antrun-plugin</artifactId>
       <executions>
         <execution>
           <id>moveFiles</id>
           <phase>install</phase>
           <configuration>
             <tasks>
...
<copy todir="somedir" flatten="true" overwrite="true" verbose="true" failonerror="true"> <fileset dir="commonbuildtreedir" includes="**/target/*-sa*.jar"/>
                 <fileset dir="someotherdir" includes="**/target/*.zip"/>
             </copy>
...
             </tasks>
           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>
       </executions>
     </plugin>
   </plugins>



Thanks,
Gordon Dickens

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to