Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Björn Raupach
hi, On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote: Hi, I want to know about any imports within our package base that are resolved by a transitive dependency. There must be a command or tool for this - I'm not sure I've ever seen one though? Maybe this helps:

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread James Green
See in-line On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com wrote: hi, On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote: Hi, I want to know about any imports within our package base that are resolved by a transitive dependency. There

RE: Finding transitive dependencies imported into our code

2015-08-07 Thread Endo Alejandro
are interested in the second category, at least in my case, I don't remember having any issues with it Alejandro -Original Message- From: Ben Podgursky [mailto:bpodgur...@gmail.com] Sent: Friday, August 7, 2015 08:17 AM To: Maven Users List Subject: Re: Finding transitive dependencies imported

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Hilco Wijbenga
On 7 August 2015 at 04:14, James Green james.mk.gr...@gmail.com wrote: See in-line On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com wrote: hi, On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote: Hi, I want to know about any imports within

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Baptiste Mathus
+1 dependency:analyze seems to be the one. Le 7 août 2015 2:17 PM, Ben Podgursky bpodgur...@gmail.com a écrit : I think you want mvn dependency:analyze -DfailOnWarning=true https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning On Fri, Aug 7, 2015 at 4:38

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Russell Gold
mvn -X compile Look at the listing; it will show you all of the dependencies. On Aug 7, 2015, at 7:14 AM, James Green james.mk.gr...@gmail.com wrote: See in-line On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com wrote: hi, On 07 Aug 2015, at 12:33, James Green

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Ben Podgursky
I think you want mvn dependency:analyze -DfailOnWarning=true https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning On Fri, Aug 7, 2015 at 4:38 AM, Russell Gold russell.g...@oracle.com wrote: mvn -X compile Look at the listing; it will show you all of the

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Ron Wheeler
You IDE should do that if it is Maven aware. Foe example, Eclipse/STS, which the m2e plugin built-in, gives you a view in the POM editor that shows the origin of the need for each dependency and shows the whole chain of transitive dependencies. It shows what versions of dependencies will be