You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Shore (JIRA)" <ji...@apache.org> on 2015/12/16 23:52:46 UTC

[jira] [Commented] (MASSEMBLY-398) ${artifactId}.${extension} is working on Maven 2.0.4 (provided with Maestro 1.1) but not working with Maven 2.0.10

    [ https://issues.apache.org/jira/browse/MASSEMBLY-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061061#comment-15061061 ] 

Andrew Shore commented on MASSEMBLY-398:
----------------------------------------

Can this be fixed in the documentation? It's still using the older style that no longer works.

https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet


> <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: https://issues.apache.org/jira/browse/MASSEMBLY-398
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>            Reporter: Usman Muhammed Syed
>            Assignee: John Casey
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)