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

Elliotte Rusty Harold closed MEAR-293.
--------------------------------------

> 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)

Reply via email to