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

Ear plugin includes the same artifact twice if used without clean

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.0

    Description

      The problem of

      https://stackoverflow.com/questions/47436946/maven-ear-plugin-doubled-artifact-when-not-using-clean

      still persists. If you rebuild an ear after changing dependency versions, the new dependencies are included along with the old ones, leading to an inconsistent ear. The attached Maven project shows this behaviour. It was first build with "install", where log4j was in version 1.2.8. After changing the version to 1.2.17, the project was "installed" again, leading to an ear that contains both log4j versions simultaneously.

      Attachments

        Issue Links

        Activity

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

          People

            rfscholte Robert Scholte
            jfabianmeier Fabian Meier
            Votes:
            0 Vote for this issue
            Watchers:
            6 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                Slack

                  Issue deployment