maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] (MEAR-149) skinnyWars and SNAPSHOT unique dependencies
Date Sat, 09 Nov 2013 19:33:20 GMT


Robert Scholte closed MEAR-149.

       Resolution: Fixed
    Fix Version/s:     (was: 2.8.1)
         Assignee: Robert Scholte

I've added a parameter so users can still use the baseVersion if they want. By default the
version is used. This is the same as for other plugins which have this option.
Fixed in [r1540373|]
> skinnyWars and SNAPSHOT unique dependencies
> -------------------------------------------
>                 Key: MEAR-149
>                 URL:
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.7
>         Environment: All
>            Reporter: Seth Rife
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 2.9
>         Attachments: ear-snapshot-dependencies.txt
> When trying to create skinnyWars, any SNAPSHOTS dependencies are not extracted out of
WARs that have SNAPSHOT dependencies with unique timestamps. The AbstractFileNameMapping class
uses the baseVersion to generate the filename which doesn't take into account timestamp dependencies,
therefore the plugin is unable to delete any dependency in the libDir folder. Using the Artifact.version
property will produce the correct filename for deletion. 
> The really only affects DEV-produced artifacts where EARs are built for deployment and
testing. Additionally, bloated EARs can affect repository managers where excessive disk space
may not be available. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message