Re: maven-shade-plugin createSourcesJar creates a source jar of dependencies but not the main project

2024-03-28 Thread Toshiya Kobayashi
Thank you very much, Alexander! It solved the issue! Toshiya On Thu, Mar 28, 2024 at 4:53 PM Alexander Kriegisch < alexan...@kriegisch.name> wrote: > Shade needs an original sources JAR as input for 'createSourcesJar'. Make > sure to add Maven Source Plugin to your build and put it above Shade

Re: maven-shade-plugin createSourcesJar creates a source jar of dependencies but not the main project

2024-03-28 Thread Alexander Kriegisch
Shade needs an original sources JAR as input for 'createSourcesJar'. Make sure to add Maven Source Plugin to your build and put it above Shade in the 'plugins' section to ensure that both of them are exeuted in the correct order during the 'package' phase. org.apache.maven.plugins

maven-shade-plugin createSourcesJar creates a source jar of dependencies but not the main project

2024-03-27 Thread Toshiya Kobayashi
Hello, I use maven-shade-plugin to create an uber jar and its source jar with . https://github.com/tkobayas/shade-test/blob/main/pom.xml ``` org.apache.maven.plugins maven-shade-plugin 3.5.2 source-jar