You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Brosius <db...@mebigfatguy.com> on 2017/06/16 12:01:41 UTC
Re: WELCOME to users@maven.apache.org
Greetings,
I have a custom maven plugin that uses MavenProject to
getCompileDependencies() on. This works fine. But now i realize that I
want to get all the dependencies for a multi module pom. So i use,
@Parameter(property = "reactorProjects", readonly = true,
required = true)
private List<MavenProject> reactorProjects;
This injection seems to work, as i'm able to get attributes from each,
like output directory.
However, when i ask for getCompileDependencies(); for these reactor
projects, nothing is returned.
Any idea what i could be doing wrong, or is there another way of doing
this?
Code here.
https://github.com/mebigfatguy/fbp-maven-plugin/blob/master/src/main/java/com/mebigfatguy/fbp/FBPMojo.java
thanks,
dave
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org