Re: Bug report - maven shade plugin - transitive dependencies of provided dependency included in uber-jar

2023-02-09 Thread Petr Široký
Hello, I took a quick look at the reproducing project you linked (https://github.com/cerveada/shade-plugin-issue) and I think the reason for the behavior you are seeing is the content of section in the bundle/pom.xml: org.apache.spark spark-core_2.12 2.4.8 pro

Re: Bug report - maven shade plugin - transitive dependencies of provided dependency included in uber-jar

2023-02-08 Thread Pavel Horal
Hi, there is a configuration for including/excluding provided scope dependencies - https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#keepDependenciesWithProvidedScope . It is not apparent what should be the default behavior from the documentation though. Pavel On Thu, 9 Feb 202

Bug report - maven shade plugin - transitive dependencies of provided dependency included in uber-jar

2023-02-08 Thread Adam Cervenka (ZA)
Hello, I would like to report a bug. I declared a dependency as provided, but the shade plugin still includes its transitive dependencies in the uber-jar. To demonstrate the issue, I created following repository: https://github.com/cerveada/shade-plugin-issue Using the poms and instructions in

bug report

2009-11-25 Thread Feng, Yongming
Hi Dev team, Not sure this is the right mail address for my report, since no link for the maven issue list on mail-lists page. It's a tricky problem from my perspective, as following: MS excel file couldn't be copied to target folder correctly (meaning excel file in the destination folder crashed