You're almost there, see the maven-dependency-plugin documentation for the
list or tree mojos.
mvn dependency:list
or
mvn dependency:tree

Cheers.
PS : btw, saying a little "thank you" at the end of a question on a mailing
is a quite commonly admitted practice, which can even help getting answers
sometimes...

2008/12/22 aymen83 <[email protected]>

>
> hi,
> i have a question:
> i want to know what versions of artifacts are used to compile my project?
> i 'm using mvn dependency:resolve but i have some doubt about the result
> this command shows the versions which are in my classpath? or the one's
> used
> in the compilation?
> --
> View this message in context:
> http://www.nabble.com/how-to-find-what-libraries-are-used--tp21124644p21124644.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to