Re: maven-shade-plugin not including dependencies

2022-06-28 Thread Alain Désilets
On Sun, Jun 26, 2022 at 9:49 AM Alexander Kriegisch < alexan...@kriegisch.name> wrote: > > Firstly, you are not crerating a test JAR but a regular JAR with > application classes, so of course test-scoped dependencies like JUnit > are not going to be contained in the uber JAR. > Oh, right. Second

Re: maven-shade-plugin not including dependencies

2022-06-26 Thread Alexander Kriegisch
> I get a build success, but when I inspect the generated jar, I don’t > see the junit classes Firstly, you are not crerating a test JAR but a regular JAR with application classes, so of course test-scoped dependencies like JUnit are not going to be contained in the uber JAR. Secondly, you are ev

maven-shade-plugin not including dependencies

2022-06-26 Thread Désilets , Alain
I am trying to use maven-shade-plugin for the first time to create an uber-jar and I can’t even get the simplest example to work. For example, I created a simple pom based on the example at the top of this page: https://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.