maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MEAR-243) Skinny WARs - JAR not removed from WAR if scope in EAR is set to provided
Date Tue, 04 Oct 2016 23:57:20 GMT

    [ https://issues.apache.org/jira/browse/MEAR-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15547101#comment-15547101
] 

Hudson commented on MEAR-243:
-----------------------------

SUCCESS: Integrated in Jenkins build maven-plugins #7335 (See [https://builds.apache.org/job/maven-plugins/7335/])
[MEAR-243] Skinny WARs - JAR not removed from WAR if scope in EAR is set to provided

When creating skinny wars, only JAR runtime modules were considered when removing libraries
from WEB-INF/lib of an EarModule. If a JAR dependency is provided, it should also remove it
from WEB-INF/lib. (gboue: [http://svn.apache.org/viewvc/?view=rev&rev=1763333])
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/verify.bsh
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/pom.xml
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp/WEB-INF
* (add) maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp/WEB-INF/web.xml
* (edit) maven-ear-plugin/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java
* (edit) maven-ear-plugin/src/main/java/org/apache/maven/plugins/ear/EarMojo.java


> Skinny WARs - JAR not removed from WAR if scope in EAR is set to provided
> -------------------------------------------------------------------------
>
>                 Key: MEAR-243
>                 URL: https://issues.apache.org/jira/browse/MEAR-243
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>            Reporter: Tobias Wildgruber
>            Assignee: Guillaume Boué
>         Attachments: skinny-wars-provided.tar.gz
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message