You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bart Selders <ba...@ibanx.nl> on 2005/06/03 15:58:19 UTC

[M2] Querying which resolved artifact belongs to which originating project

I have had some trouble to locate by hand that project out of many (40+)
resolved projects which actually defines the jdbc-2.0 dependency in my
dependency tree. I had to clean up that dependency that i did not want 
in my runtime classpath.

It would be really nice if there was a plugin or similar that could tell
which project is the originator of a certain resolved dependency, so we 
could go and fix it.

(purely as example)

    m2 query:dependency -DartifactId=jdbc

and then m2 would then return a list of fully qualified project names in
which jdbc is set as a dependency.

Bart


************************************************************************* 
The information contained in this communication is confidential and is 
intended solely for the use of the individual or entity to  whom it is 
addressed.You should not copy, disclose or distribute this communication 
without the authority of iBanx bv. iBanx bv is neither liable for 
the proper and complete transmission of the information has been maintained 
nor that the communication is free of viruses, interceptions or 
interference. 

If you are not the intended recipient of this communication please return 
the communication to the sender and delete and destroy all copies. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Querying which resolved artifact belongs to which originating project

Posted by Brett Porter <br...@gmail.com>.
We are planning in the current iteration to start annotating failures
in such a way.

- Brett

On 6/3/05, Bart Selders <ba...@ibanx.nl> wrote:
> I have had some trouble to locate by hand that project out of many (40+)
> resolved projects which actually defines the jdbc-2.0 dependency in my
> dependency tree. I had to clean up that dependency that i did not want
> in my runtime classpath.
> 
> It would be really nice if there was a plugin or similar that could tell
> which project is the originator of a certain resolved dependency, so we
> could go and fix it.
> 
> (purely as example)
> 
>     m2 query:dependency -DartifactId=jdbc
> 
> and then m2 would then return a list of fully qualified project names in
> which jdbc is set as a dependency.
> 
> Bart
> 
> 
> *************************************************************************
> The information contained in this communication is confidential and is
> intended solely for the use of the individual or entity to  whom it is
> addressed.You should not copy, disclose or distribute this communication
> without the authority of iBanx bv. iBanx bv is neither liable for
> the proper and complete transmission of the information has been maintained
> nor that the communication is free of viruses, interceptions or
> interference.
> 
> If you are not the intended recipient of this communication please return
> the communication to the sender and delete and destroy all copies.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org