You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kelly Davis (JIRA)" <ji...@codehaus.org> on 2011/05/04 21:55:22 UTC
[jira] Commented: (MASSEMBLY-394) Property filtering does not work
inside the outputDirectory element content
[ http://jira.codehaus.org/browse/MASSEMBLY-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265737#action_265737 ]
Kelly Davis commented on MASSEMBLY-394:
---------------------------------------
Using maven 3.0.2, the recommended solution (use ${project.properties.clump.name}) doesn't appear to work.
> Property filtering does not work inside the outputDirectory element content
> ---------------------------------------------------------------------------
>
> Key: MASSEMBLY-394
> URL: http://jira.codehaus.org/browse/MASSEMBLY-394
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-3
> Environment: Maven version: 2.0.10
> Java version: 1.5.0_15
> Ubuntu 8.10
> OS name: "linux" version: "2.6.27-11-generic" arch: "i386" Family: "unix"
> Reporter: Keith Wedinger
> Assignee: John Casey
>
> Inside my POM, I have the following property defined:
> <properties>
> <clump.name>b2b_oba</clump.name>
> </properties>
> Inside my assembly descriptor, I am attempting to use the property above as well as project defined properties to filter the outputDirectory element content contained within <files><file>. The relevant descriptor snippet is below:
> <files>
> <file>
> <source>${clump.codejar.output.directory}/${project.name}.jar</source>
> <outputDirectory>${project.name}/jars/${clump.name}/${clump.version.dir}</outputDirectory>
> </file>
> </files>
> After running mvn assembly:assembly, the resultant outputDirectory content remains as follows. None of the properties are replaced with their corresponding values.
> <outputDirectory>${project.name}/jars/${project.name}/${clump.version.dir}</outputDirectory>
> maven-assembly-plugin version 2.1 does not have this issue. When I use version 2.1, property filtering on the outputDirectory works correctly.
--
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