<outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping> is
working on Maven 2.0.4 (provided with Maestro 1.1) but not working with Maven
2.0.10
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: MASSEMBLY-398
URL: http://jira.codehaus.org/browse/MASSEMBLY-398
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Reporter: Usman Muhammed Syed
Maven Assembly Syntax:
<outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
working with Maven 2.0.4 but with Maven 2.0.10, it creates all the jar file
with one single name which is the artificat id of the project and .${extension}
as the filename extension. Here is my clientAssembly file.
<assembly>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>
../../kiosk/presentation-war/src/main/webapp/images
</directory>
<outputDirectory>/images/</outputDirectory>
</fileSet>
<fileSet>
<outputDirectory>/images/</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>/images/</outputDirectory>
<!-- The line below is not working in newer versions of
Maven. Working with Maven included in Maestro 1.1. A regression in Maven -->
<outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
<unpack>false</unpack>
<scope>runtime</scope>
<includes>
<include>commons-logging:commons-logging</include>
<include>org.apache.log4j:log4j</include>
<include>idl:idl</include>
<include>jacorb:jacorb</include>
<include>xerces:xercesImpl</include>
<include>xml-apis:xml-apis</include>
<!--<include>org.netscape.plugin:plugin</include>-->
</includes>
</dependencySet>
</dependencySets>
</assembly>
--
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