> Say, I have an artifact in repository and pom file for it. I want to > download this artifact and run some code against it (some kind of tests). I
Getting an artifact when you only have its coordinates is easy. Look at the Mojo Cookbook: http://docs.codehaus.org/display/MAVENUSER/Mojo%20Developer%20Cookbook > But if I do not have sources then I need a plug-in that will download > artifact from repository and put binaries in "build" directory like if they You can use dependency:unpack: http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html > I cannt use DEPENDENCY because projects does not have dependency on its > self. I don't understand this one. Just name the artifct of the project you're working on differently than this artifact you're talking about. A more concrete example may help us to provide better answers. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
