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

[jira] [Commented] (MEAR-293) skinnyModules option doesn't work if skinnyWars is false

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

Hudson commented on MEAR-293:
-----------------------------

Build succeeded in Jenkins: Maven » Maven TLP » maven-ear-plugin » master #51

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-ear-plugin/job/master/51/

> skinnyModules option doesn't work if skinnyWars is false
> --------------------------------------------------------
>
>                 Key: MEAR-293
>                 URL: https://issues.apache.org/jira/browse/MEAR-293
>             Project: Maven EAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Windows 10 x64, Red Hat JDK 1.8 update 252 x64
>            Reporter: Marat Abrarov
>            Priority: Blocker
>
> If {{skinnyModules}} option is turned on and {{skinnyWars}} option is turned off (default value) then WARs are not skinny. It looks to be a [bug|https://github.com/apache/maven-ear-plugin/pull/26#discussion_r546355822] introduced by [pull request #26|https://github.com/apache/maven-ear-plugin/pull/26]. This leads to [failed integration test|https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-ear-plugin/job/master/49/console] in the Jenkins builds of master branch:
> {noformat}
> [ERROR] Tests run: 94, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 416.522 s <<< FAILURE! - in org.apache.maven.plugins.ear.it.EarMojoIT
> [ERROR] testProject092(org.apache.maven.plugins.ear.it.EarMojoIT)  Time elapsed: 19.103 s  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: Wrong elements of Class-Path entry of module [eartest-war-sample-three-1.0.war] manifest: array lengths differed, expected.length=3 actual.length=1; arrays first differed at element [0]; expected:<[libs/eartest-]jar-sample-two-1.0.j...> but was:<[]jar-sample-two-1.0.j...>
> 	at org.apache.maven.plugins.ear.it.EarMojoIT.testProject092(EarMojoIT.java:1035)
> Caused by: org.junit.ComparisonFailure: expected:<[libs/eartest-]jar-sample-two-1.0.j...> but was:<[]jar-sample-two-1.0.j...>
> 	at org.apache.maven.plugins.ear.it.EarMojoIT.testProject092(EarMojoIT.java:1035)
> {noformat}



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