Hi Asaf,
Am 01.04.2012 22:50, schrieb Asaf Mesika:
> Hi,
>
> Works great! I have the MavenProject, but since I'm running
> project-less(@requiresProject false), the lazy initialized dependency
> artifacts are not present. What API should I use to obtain the entire
> dependency (direct and transit
Hi,
Works great! I have the MavenProject, but since I'm running
project-less(@requiresProject false), the lazy initialized dependency artifacts
are not present.
What API should I use to obtain the entire dependency (direct and transitive)
for the obtain MavenProject?
Thanks!
Asaf
--
Asaf
Hello,
once resolved, get the File using
org.sonatype.aether.artifact.Artifact#getFile
then use org.apache.maven.project.ProjectBuilder#build(File,
ProjectBuildingRequest) to get the MavenProject.
Vincent
2012/4/1 Asaf Mesika
> Hi,
>
> I'm writing a Mojo, and I have a question:
>
> I have a
Hi,
I'm writing a Mojo, and I have a question:
I have a piece of code which resolves an Aether Artifact based on its GAV
string, from specific repository defined programmatic.
Once I have the "org.sonatype.aether.artifact.Artifact" at hand - how do I
convert it to a MavenProject or any other p