[ 
http://jira.codehaus.org/browse/MOJO-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliot Metsger updated MOJO-1266:
---------------------------------

    Attachment: MOJO-1266.patch

Attaching MOJO-1266.patch

There is a side affect of this patch.

The 1.0-alpha3 behavior was to never relocate the resources of the current 
MavenProject, but relocate everything else without consulting 
excludeDependenciesInRelocation of the AbstractPluginMojo.

Since this patch allows multiple jars to be relocated, there is a potential for 
conflicts, especially with files like "LICENSE.txt" at the base of the jar.  
The LicenseHandler will create an error - duplicate jar entry - when writing 
the aggregated license file.  So this patch takes that into account...



> excludeDependenciesInRelocation not working with minijar:ueberjar
> -----------------------------------------------------------------
>
>                 Key: MOJO-1266
>                 URL: http://jira.codehaus.org/browse/MOJO-1266
>             Project: Mojo
>          Issue Type: Bug
>          Components: minijar
>         Environment: minijar-maven-plugin-1.0-alpha-3
>            Reporter: Elliot Metsger
>            Priority: Minor
>         Attachments: MOJO-1266.patch
>
>
> Despite configuring the minijar plugin to exclude certain dependencies from 
> relocation when executing the 'ueberjar', the specified dependencies were 
> relocated.  The  excludeDependenciesInRelocation is ignored.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to