Possible to execute Maven Goals from API level calls?

2012-04-13 Thread Tobias Maslowski
Hello, It might be silly, but I was wondering if it was possible to use maven goals from api. I'ld like to do something like this: Maven mvn = new Maven("mySettings.xml"); MavenCoordinates coords = new MavenCoordinates("my.group.id", "ArtifactID", "1.0.0-SNAPSHOT"); try { Artifact dep = m

Re: Possible to execute Maven Goals from API level calls?

2012-04-13 Thread Wayne Fay
> It might be silly, but I was wondering if it was possible to use maven goals > from api. I'ld like to do something like this: ... > Can anyone tell me if it's possible (and reasonable) to do so? If so, where > can I have a look at the API? If you are just wanting to access your Maven Artifacts,

Re: Possible to execute Maven Goals from API level calls?

2012-04-13 Thread tobias maslowski
Thank you so much! This is pretty much exactly what I had in mind, but could not find :-) Am 13. April 2012 22:57 schrieb Wayne Fay : > > It might be silly, but I was wondering if it was possible to use maven > goals > > from api. I'ld like to do something like this: > ... > > Can anyone tell me