Uploaded image for project: 'Maven EAR Plugin'
  1. Maven EAR Plugin
  2. MEAR-243

Skinny WARs - JAR not removed from WAR if scope in EAR is set to provided

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 3.0.0
    • None

    Description

      Given:

      • WAR pom: dependencies = lib-1.0.jar
      • EAR pom: dependencies = WAR & "lib-1.0.jar (scope: provided)", EAR plugin with skinnyWars = true

      Expected result:

      • lib-1.0.jar not included in EAR => OK
      • lib-1.0.jar not included in WARs Manifest Class-Path => OK
      • lib-1.0.jar removed from WARs WEB-INF/lib folder => ERROR, still present

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gboue Guillaume Boué
            tow Tobias Wildgruber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment