It's simply asking the core to resolve all the dependencies and then it enumerates them. It can be usefull when you just want to see the list of deps, or if you are troubleshooting resolution issues, you can quickly force everything to be resolved. There is also dependency:tree that will give you more info.
-----Original Message----- From: aymen83 [mailto:[email protected]] Sent: Monday, December 22, 2008 8:04 AM To: [email protected] Subject: Re: mvn dependency:resolve what's it for? ok, thanks for the clarification cheers Brett Randall-2 wrote: > >>>my project was initially compiled with spring 2.5.6 and after that i > compiled it with spring 2.0.8 > > How did you enact the change from 2.5.6 to 2.0.8? Did you make a > hard-change > to the dependency version, or did you activate a profile? > > If you activated a profile, then to see the same results with > dependency:resolve, you would also need to activate the same profile when > running that goal. > > On Mon, Dec 22, 2008 at 10:11 PM, aymen83 <[email protected]> wrote: > >> >> my question is >> if i compile my project with spring 2.0.8 for exemple and i tape mvn >> dependency:reslove the CLI will show that the project was compiled using >> it? >> >> i asked this question because my project was initially compiled with >> spring >> 2.5.6 and after that i compiled it with spring 2.0.8 so when i tape mvn >> dependency:resolve i see spring 2.5.6 so i was wondering if it was really >> compiled with version2.0.8? or is there another CLI that can be more >> specific? >> >> thanks >> >> >> Brett Randall-2 wrote: >> > >> > According to >> > http://maven.apache.org/plugins/maven-dependency-plugin/index.html , >> > >> > dependency:resolve< >> http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.htm l >> >tells >> > Maven to resolve all dependencies and displays the version. >> > >> > This is what it does for my projects. Do you have a specific question >> > about >> > its operation? >> > >> > On Mon, Dec 22, 2008 at 9:52 PM, aymen83 <[email protected]> wrote: >> > >> >> >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/mvn-dependency%3Aresolve-what%27s-it-for--tp211258 80p21125880.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] >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/mvn-dependency%3Aresolve-what%27s-it-for--tp211258 80p21126140.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] >> >> > > -- View this message in context: http://www.nabble.com/mvn-dependency%3Aresolve-what%27s-it-for--tp211258 80p21127444.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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
