Maven Ear Plugin
  1. Maven Ear Plugin
  2. MEAR-149

skinnyWars and SNAPSHOT unique dependencies

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.9
    • Labels:
      None
    • Environment:
      All
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      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.

        Activity

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Seth Rife
          • Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: