Re: WELCOME to users@maven.apache.org

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WELCOME to users@maven.apache.org

mebigfatguy
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: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...