You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2009/05/26 17:36:42 UTC
[jira] Created: (MASSEMBLY-413) Assembly plugin uses absolute paths
from project instance after interpolation
Assembly plugin uses absolute paths from project instance after interpolation
-----------------------------------------------------------------------------
Key: MASSEMBLY-413
URL: http://jira.codehaus.org/browse/MASSEMBLY-413
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Affects Versions: 2.2-beta-3
Reporter: John Casey
The assembly plugin uses absolute paths for things like ${project.build.directory}, which makes it impossible to use them in include/exclude patterns (since those patterns are used relative to the fileset directory).
POM paths should be recalculated as relative to project.basedir before they're injected into the assembly descriptor via interpolation.
--
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
[jira] Closed: (MASSEMBLY-413) Assembly plugin uses absolute paths
from project instance after interpolation
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-413.
--------------------------------
Resolution: Fixed
Added a method to AssemblyFileUtils to render a path relative to the project basedir, then added an interpolation post-processor to attempt to make relative all interpolated values before injecting them into the assembly descriptor.
> Assembly plugin uses absolute paths from project instance after interpolation
> -----------------------------------------------------------------------------
>
> Key: MASSEMBLY-413
> URL: http://jira.codehaus.org/browse/MASSEMBLY-413
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-3
> Reporter: John Casey
> Assignee: John Casey
> Fix For: 2.2-beta-4
>
>
> The assembly plugin uses absolute paths for things like ${project.build.directory}, which makes it impossible to use them in include/exclude patterns (since those patterns are used relative to the fileset directory).
> POM paths should be recalculated as relative to project.basedir before they're injected into the assembly descriptor via interpolation.
--
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
[jira] Updated: (MASSEMBLY-413) Assembly plugin uses absolute paths
from project instance after interpolation
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MASSEMBLY-413:
---------------------------------
Assignee: John Casey
Fix Version/s: 2.2-beta-4
> Assembly plugin uses absolute paths from project instance after interpolation
> -----------------------------------------------------------------------------
>
> Key: MASSEMBLY-413
> URL: http://jira.codehaus.org/browse/MASSEMBLY-413
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-3
> Reporter: John Casey
> Assignee: John Casey
> Fix For: 2.2-beta-4
>
>
> The assembly plugin uses absolute paths for things like ${project.build.directory}, which makes it impossible to use them in include/exclude patterns (since those patterns are used relative to the fileset directory).
> POM paths should be recalculated as relative to project.basedir before they're injected into the assembly descriptor via interpolation.
--
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