Tom Huybrechts wrote:
[1] I am trying to use the maven-artifact API to download artifacts from my maven repository. Trouble is, I cannot find the formal way to create ArtifactRepository objects.http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook - create a DefaultArtifactRepository object - or have it injected in a plugin field
This looks like info that you would need if you were writing a plugin to be embedded within maven, meanwhile I am trying to get maven-artifact embedded in an external application.
The docs here are pretty much exactly what I need: http://maven.apache.org/guides/mini/guide-embedding-m2.htmlTrouble is, none of the code listed in this guide exists any more, and Google finds no discussion about where it went.
Anyone know? Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature
