You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Fabian Meier (JIRA)" <ji...@apache.org> on 2019/05/30 18:39:00 UTC

[jira] [Created] (MEAR-278) Ear plugin includes the same artifact twice if used without clean

Fabian Meier created MEAR-278:
---------------------------------

             Summary: Ear plugin includes the same artifact twice if used without clean
                 Key: MEAR-278
                 URL: https://issues.apache.org/jira/browse/MEAR-278
             Project: Maven Ear Plugin
          Issue Type: Bug
    Affects Versions: 3.0.1
            Reporter: Fabian Meier
         Attachments: test-ear.zip

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.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)