I was thinking about this the other day, and ran across this blog that might be helpful: http://www.gridshore.nl/blog/index.php?/archives/46-Luntbuild-and-Maven-2,-the-ideal-couple.html
Wayne On 9/25/07, Gordon Dickens <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
