From: Michael S. <sta...@us...> - 2005-10-25 00:21:07
|
Update of /cvsroot/archive-access/archive-access/projects/wayback In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24088 Modified Files: maven.xml Log Message: * maven.xml Add calling of the 'war' goal when 'dist' is invoked. Copy into bin 'webapp' dir the produced war file as part of the 'dist' build. Index: maven.xml =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** maven.xml 20 Oct 2005 01:30:36 -0000 1.1 --- maven.xml 25 Oct 2005 00:20:58 -0000 1.2 *************** *** 12,14 **** --- 12,26 ---- <attainGoal name="faq"/> </preGoal> + <goal name="jar:jar" + description="Blind out jar:jar -- we don't want a jar made"/> + <postGoal name="dist:prepare-bin-filesystem"> + <attainGoal name="war" /> + <!--Copy over the just made war files into the distribution copy.--> + <mkdir dir="${maven.dist.bin.assembly.dir}/webapp" /> + <copy todir="${maven.dist.bin.assembly.dir}/webapp"> + <fileset dir="${maven.build.dir}"> + <include name="*.war"/> + </fileset> + </copy> + </postGoal> </project> |