Syntax Problem in Example Doco ------------------------------ Key: MASSEMBLY-308 URL: http://jira.codehaus.org/browse/MASSEMBLY-308 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.2-beta-2 Environment: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html Reporter: Andrew Hughes Priority: Minor
There's a problem with the examples.... {noformat} <includes>*.txt</includes> {noformat} should read {noformat} <includes> <include>*.txt</include> </includes> {noformat} in the example... {noformat} <assembly> <id>distribution</id> <formats> <format>jar</format> </formats> <fileSets> <fileSet> <directory>${basedir}</directory> <includes>*.txt</includes> <excludes> <exclude>README.txt</exclude> <exclude>NOTICE.txt</exclude> </excludes> </fileSet> </fileSets> <files> <file> <source>README.txt</source> <outputDirectory>/</outputDirectory> <filtered>true</filtered> </file> <file> <source>NOTICE.txt</source> <outputDirectory>/</outputDirectory> <filtered>true</filtered> </file> </files> </assembly> {noformat} -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira