Skip to content

[MEAR-293] skinnyModules option doesn't work if skinnyWars is false #172

@jira-importer

Description

@jira-importer

Marat Abrarov opened MEAR-293 and commented

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 introduced by pull request #26. This leads to failed integration test in the Jenkins builds of master branch:

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

Affects: 3.1.0

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not run

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions