shadow: Shadowed JARs should not be added to JAR manifest Class-Path header
Original JUnit Issue
https://github.com/junit-team/junit5/issues/1044
Code in Question
Expected Behavior
Shadowed JARs should not be added to manifest Class-Path header.
Actual Behavior
Shadowed JARs are added to manifest Class-Path header.
Gradle Build Script(s)
https://github.com/junit-team/junit5/blob/master/junit-jupiter-params/junit-jupiter-params.gradle
Content of MANIFEST.MF
Manifest-Version: 1.0
Implementation-Title: junit-jupiter-params
Automatic-Module-Name: org.junit.jupiter.params
Build-Date: 2017-08-23
Implementation-Version: 5.0.0-RC3
Built-By: JUnit Team
Specification-Vendor: junit.org
Specification-Title: junit-jupiter-params
Class-Path: univocity-parsers-2.5.1.jar
Implementation-Vendor: junit.org
Build-Revision: e0af182b1440da44af16a7181cd3b03d1a3fe82d
Build-Time: 20:40:28.393+0200
Created-By: 1.8.0_131 (Oracle Corporation 25.131-b11)
Specification-Version: 5.0.0
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
Commits related to this issue
- Work around bug in shadowJar task: https://github.com/johnrengelman/shadow/issues/324 — committed to plume-lib/options by mernst 9 years ago
- Different workaround for https://github.com/johnrengelman/shadow/issues/324 — committed to plume-lib/options by mernst 9 years ago
@johnrengelman From the JUnit Team’s point of view, this issue can be closed as “works-as-designed”. Thanks!