RE: Where does shaded JAR get its POM?

2017-09-13 Thread Sander Verhagen
4, 2017 13:45 To: Maven Users List Subject: Re: Where does shaded JAR get its POM? Hi Sander, Old problem, no real solution except to go multi-module. I use the shade plugin fairly often and this has always been a quandary. The plugin can produce a dependency-reduced POM, but then there'

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Robert Scholte
] Sent: Monday, September 4, 2017 12:51 To: Maven Users List Subject: Re: Where does shaded JAR get its POM? On Mon, Sep 4, 2017 at 2:23 AM, Anders Hammar wrote: On Mon, Sep 4, 2017 at 11:09 AM, Thomas Broyer wrote: AFAIK, as soon as you use a in a dependency, the transitive dependencies

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Richard Sand
Richard Sand | CEO IDF Connect, Inc. <http://www.idfconnect.com/> 2207 Concord Ave, #359 Wilmington | Delaware 19803 | USA Office: +1 888 765 1611 | Fax: +1 866 765 7284 Mobile: +1 267 984 3651 -- Original Message ------ From: "Sander Verhage

RE: Where does shaded JAR get its POM?

2017-09-04 Thread Sander Verhagen
Benson Margulies [mailto:bimargul...@gmail.com] Sent: Monday, September 4, 2017 12:51 To: Maven Users List Subject: Re: Where does shaded JAR get its POM? On Mon, Sep 4, 2017 at 2:23 AM, Anders Hammar wrote: > On Mon, Sep 4, 2017 at 11:09 AM, Thomas Broyer wrote: > >> AFAIK, as soon as y

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Benson Margulies
On Mon, Sep 4, 2017 at 2:23 AM, Anders Hammar wrote: > On Mon, Sep 4, 2017 at 11:09 AM, Thomas Broyer wrote: > >> AFAIK, as soon as you use a in a dependency, the transitive >> dependencies from its POM aren't used (actually, Maven might even not >> download the POM at all in this case); so you

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Anders Hammar
On Mon, Sep 4, 2017 at 11:09 AM, Thomas Broyer wrote: > AFAIK, as soon as you use a in a dependency, the transitive > dependencies from its POM aren't used (actually, Maven might even not > download the POM at all in this case); so you should be OK using > shaded. > I don't think that's correct

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Thomas Broyer
AFAIK, as soon as you use a in a dependency, the transitive dependencies from its POM aren't used (actually, Maven might even not download the POM at all in this case); so you should be OK using shaded. Note however that, this shaded JAR still depends on Guava, SLF4J API and Immutables, so you'll

Where does shaded JAR get its POM?

2017-09-03 Thread Sander Verhagen
Hi list, Different microservices at one company often have some shared infrastructure, such as for Service Discovery. I'm looking to use the awesome Consul Client for Java (https://github.com/OrbitzWorldwide/consul-client), and build a library that our various (Maven-based Java) microservices