[ 
https://issues.apache.org/jira/browse/MEAR-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MEAR-155.
-------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> Building multiple EARs containing different modules with classifiers doesn't 
> work with skinnyWars set to true
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MEAR-155
>                 URL: https://issues.apache.org/jira/browse/MEAR-155
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>            Reporter: Roland Asmann
>            Priority: Major
>         Attachments: MEAR-155.zip
>
>
> I have a multi-module project with following structure:
> {noformat}
> root
>  |- content
>  |- WAR
>  \- EAR
> {noformat}
> In which all modules (except root) generate 2 artifacts: a 'normal' artifact 
> (no classifier), that gets deployed on the server and a 'dev' artifact 
> (classifier=dev), that is used for local development.
> This has worked fine until the skinnyWar was set to true:
> The EAR-plugin now extracts the normal WAR into a temp-dir and repackages it. 
> Then it creates the EAR --> this version is alright.
> When it wants to package the 'dev'-version, it extract the WAR into the SAME 
> directory as the previous WAR, repackages it and creates the EAR.
> The problem here, is that the 'dev'-EAR now contains a 'dev'-WAR that has 
> mixed libraries inside -- both the 'normal' and 'dev' content-JAR!
> Wouldn't it be better to either delete the temp-dir after creating the first 
> EAR or unpacking the module into a different temp-dir (eg including the 
> classifier in the name)?



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

Reply via email to