RE: Where does shaded JAR get its POM?

2017-09-13 Thread Sander Verhagen
Hi all, Thank you very much for the answers. I learned a lot about shading, in the past days. I even made that PR for Consul Client (then pulled it back again, since I clearly needed to learn more about shaded JARs first). Thanks for the perspectives. Sander. Sander Verhagen [ 

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
The users of my plugin define a dependency which the mojo unpacks and extracts certain files from. You know that such a plugin already exists? maven-dependency-plugin:unpack / unpack-dependencies ? https://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Karl Heinz Marbaise
Hi, On 13/09/17 23:29, Adam Hardy wrote: On 12/09/17 18:05, Adam Hardy wrote: when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
On 12/09/17 18:05, Adam Hardy wrote: when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to my mind: Why do you need the dependencies

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Karl Heinz Marbaise
Hi Adam, On 12/09/17 18:05, Adam Hardy wrote: Hi, when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to my mind: Why do you need the