You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/12 21:12:43 UTC
[jira] [Closed] (MASSEMBLY-436) assembly id not available as
property for filtering
[ https://issues.apache.org/jira/browse/MASSEMBLY-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MASSEMBLY-436.
------------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> assembly id not available as property for filtering
> ---------------------------------------------------
>
> Key: MASSEMBLY-436
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-436
> Project: Maven Assembly Plugin
> Issue Type: Improvement
> Components: filtering
> Affects Versions: 2.2-beta-4
> Environment: all
> Reporter: Bjorn
>
> I'm building a project for multiple platforms (using multiple assembly descriptors) and need the assembly information (for example one of my assemblies is called "gtk-linux-x86_64") in the deployment package. Preferably by resource filtering. This information is available in my descriptors as the assembly id. Unfortunately this id is not accessible.
> Besides resource filtering the assembly id could also be used in the descriptor itself and could reduce duplication of information.
> Example where ID is used as a platform classifier:
> <assembly>
> <id>gtk-linux-x86_64</id>
> <formats><format>dir</format> </formats>
> <dependencySets>
> <dependencySet>
> <outputDirectory>/lib</outputDirectory>
> <includes>
> <!-- could use ID here for example -->
> <include>org.eclipse:org.eclipse.swt:jar:${assembly.id}</include>
> </includes>
> </dependencySet>
> </dependencySets>
> </assembly>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)