Marat Radchenko wrote:

I'm hacking on one Maven plugin and need to get artifacts that are
currently present in reactor. Is there any way to get them?

You could use "${reactorProjects}" to get a List<MavenProject> from the reactor injected into your mojo. Iterating over the projects and calling MavenProject.getArtifact() and getAttachedArtifacts() should get you all the artifacts the reactor has built so far.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to