slachiewicz opened a new pull request, #894:
URL: https://github.com/apache/maven-shade-plugin/pull/894
Two documentation fixes from Martijn Dashorst's list of places where Maven's
documentation and behaviour disagree (apache/maven-site#1793, items 44 and 45).
* *Executable JAR*: the example builds, but every build warns that
`META-INF/MANIFEST.MF` overlaps between the project's JAR and its dependencies.
The page now says why, and that the warning is harmless with
`ManifestResourceTransformer`.
* `createDependencyReducedPom`: the parameter docs said the reduced POM is
stored next to the shaded artifact and that the copy in the project directory
is temporary. It is written to `dependencyReducedPomLocation` (default
`${basedir}/dependency-reduced-pom.xml`) and stays there; nothing is written to
`target/`.
Verified with shade 3.6.2 on Maven 3.10.0, project with one dependency and
the executable-JAR configuration: `mvn clean package` →
`commons-lang3-3.21.0.jar, shaded-1.0.jar define 1 overlapping resource:
META-INF/MANIFEST.MF`; afterwards `dependency-reduced-pom.xml` is in the
project directory and not in `target/`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]