Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MAVEN-1381 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-1381 Summary: add POM section to specify additional files/dirs to be included in distribution Type: Improvement Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components: model additions Versions: 1.0 Assignee: Reporter: Ian P. Springer Created: Mon, 19 Jul 2004 10:50 AM Updated: Mon, 19 Jul 2004 10:50 AM Environment: n/a Description: There should be an optional section in project.xml for specifying additional files/dirs to be included in the distribution that is build by the dist plugin. Something along the lines of: <dist> <filesets> <fileset> <directory>${maven.war.webapp.dir}</directory> <prefix>webapps/wsdm</prefix> <excludes> <exclude>**/.*</exclude> </excludes> </fileset> </filesets> </dist> Otherwise, one ends up having to do a bunch of Ant copies in maven.xml, like so: <!-- ================================================================== --> <!-- D I S T : P R E P A R E - B I N - F I L E S Y S T E M --> <!-- P O S T - G O A L --> <!-- ================================================================== --> <!-- Make sure our webapp dir is included in the binary distribution. --> <!-- Make sure miscellaneous resources go into the distribution. --> <!-- ================================================================== --> <postGoal name="dist:prepare-bin-filesystem"> <attainGoal name="war:webapp" /> <mkdir dir="${maven.dist.bin.assembly.dir}/webapps/wsdm" /> <copy todir="${maven.dist.bin.assembly.dir}/webapps/wsdm"> <fileset dir="${maven.war.webapp.dir}" /> </copy> <!-- make sure the dist includes our docs, examples and other resources --> <copy todir="${maven.dist.bin.assembly.dir}/docs"> <fileset dir="${basedir}/docs" /> </copy> <copy todir="${maven.dist.bin.assembly.dir}/examples"> <fileset dir="${basedir}/examples" /> </copy> <copy todir="${maven.dist.bin.assembly.dir}"> <fileset dir="${basedir}"> <include name="readme.htm"/> <include name="WsdmWsdl2Java.cmd"/> </fileset> </copy> </postGoal> MUCH easier and cleaner to be able to specify it via the POM. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]