Hello, 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 have a MOJO with my code: "mycode-maven-plugin". If I only had sources my task were so easy: inject "mycode-maven-plugin" in some lifecycle phase after compilation and that is all. 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 were compiled. I cannt use WAGON, because I do not know exact URL for my binaries: only artifactId, version and groupId. I cannt use DEPENDENCY because projects does not have dependency on its self.
And looks like I have to write my own plugin: http://stackoverflow.com/questions/1440224/how-can-i-download-maven-artifact s-within-a-plugin Is it true? Probably there are some plugins to help me? Thanks. Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
