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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to