[ http://jira.codehaus.org/browse/MASSEMBLY-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103468 ]
Perry Adams commented on MASSEMBLY-201: --------------------------------------- Classifier is included if you also include the type but I want the first example so the jar file name will match the classpath in Manifest.mf Thus given this in the POM: <dependency> <groupId>a.b</groupId> <artifactId>xyz-ejb</artifactId> <version>2.0.4</version> <type>ejb-client</type> </dependency> <outputFileNameMapping>${artifactId}-${version}-${classifier}.${extension}</outputFileNameMapping> in the assembly dependencySet yields (notice the classifier is not included): xyz-ejb-2.0.4.jar <outputFileNameMapping>${artifactId}-${version}-${classifier}-${type}.${extension}</outputFileNameMapping> in the assembly dependencySet yields (notice both classifier and type are included): xyz-ejb-2.0.4-client-ejb-client.jar > classifier not included in name of dependency set > ------------------------------------------------- > > Key: MASSEMBLY-201 > URL: http://jira.codehaus.org/browse/MASSEMBLY-201 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-1 > Environment: 2.2-beta1 assembly plugin > Reporter: Steve Berczuk > > in my assembly descriptor I have > <dependencySet> > <outputDirectory>/dir</outputDirectory> > <unpack>false</unpack> > > <includes> > <include>com.berczuk:appdeps:zip:linux</include> > <include>com.berczuk:appdeps:zip:win32</include> > <include>com.berczuk:appdeps:zip:sunos</include> > </includes> > </dependencySet> > with the 2.1 plugin my assembly package would create a zip file that > contained the following files: > dir/ > appdeps-1.1-linux.zip > appdeps-1.1-win32.zip > appdeps-1.1-sunos.zip > now, there is only one zip file named appdeps-1.1.zip > even if I change the outputFileNameMapping to include the classifier the > classifier does not appear. > This is a problem since it seemed to work so well before:) -- 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