You effectively want to do dependency-maven-plugin:copy-dependencies but without maven. It might be possible to use the copy mojo code since I build the artifact based on the configuration but there are some injected values that are setup from maven itself. If you can figure out how to mock or stub those out, it might work.
-----Original Message----- From: Johannes Zillmann [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 3:40 PM To: [email protected] Subject: [mojo-dev] using dependency plugin without maven Hello developer's, i'm in the need to write a small tool which is able to read for a description file in a remote repository, wherat in this description file a set of jars is listed which the tool should retrieve afterwards. So very similar to a maven pom model... but it should be startable from command line without a installed maven. My idea is to utilize maven respectively your plugin to be able to lookup for a normal pom in a maven2 repository and then download the needed jar's to a local dir. The reason why i can't use just maven is, that i'm not in the position to install maven where my tool should get used. Am i understandable ? Am i at the right place here ? Could someone give me a hint where to start ? best regards Johannes
