You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2020/12/26 18:17:00 UTC

[jira] [Closed] (MEAR-289) skinnyWars issue with finalName for Jar module

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

Herve Boutemy closed MEAR-289.
------------------------------
    Fix Version/s:     (was: waiting-for-feedback)
                   3.2.0
       Resolution: Fixed

> skinnyWars issue with finalName for Jar module
> ----------------------------------------------
>
>                 Key: MEAR-289
>                 URL: https://issues.apache.org/jira/browse/MEAR-289
>             Project: Maven EAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Stefan Schmidt
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: maven-ear-example.zip
>
>
> When a finalName is given for a Jar module in a War it is not found by filename @\{artifactId}@-@\{version}@.@\{extension}@ for deletion in maven-ear-plugin.
> Example as attached:
>  * module-jar
>  * module-jar2 (with finalName)
>  * module-war (has jar and jar2 as dependency)
>  * module-ear (has jar as dependency)
> #> ./mvnw clean install
> The module-ear-0-SNAPSHOT.ear contains the com.example-module-war-0-SNAPSHOT.war. In this war both jar's are in folder WEB-INF/lib module-jar-0-SNAPSHOT.jar and module-jar2-0-SNAPSHOT.jar.
> On debugging maven-ear-plugin 3.1.0 it is checking only the finalName.jar and the name com.example-module-jar-0-SNAPSHOT.jar.
> Debugging -> EarMojo.java line 816 to 838
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)