Does anyone know to get children modules as MavenProjects?
I'm building a plugin. I've already created something to find the parent
project from any child project. Now I want to find a specific project by group
and artifact ids. So I need to traverse the hierarchy from any child module. I
can
I don't know, but I would look in the source code of some open source maven
plugin that does similar things. Try the javadoc plugin as I believe it has
an aggregate goal.
/Anders
On Thu, Dec 13, 2012 at 11:55 AM, Marcos Mendez mar...@jitisoft.com wrote:
Does anyone know to get children
Well. figured it out. Thanks.
Found a way to get the root module. Then figured out how to load the modules by
using the maven project builder.
On Dec 13, 2012, at 6:47 AM, Anders Hammar wrote:
I don't know, but I would look in the source code of some open source maven
plugin that does
FYI: You should look for them in the list of reactor project first before
resorting to building a new model. Otherwise subtle effects to do with
order of installation into the maven repository can creep in
On 13 December 2012 11:53, Marcos Mendez mar...@jitisoft.com wrote:
Well. figured it
reactor projects in the plugin are not all the projects and i'm not going to
force the user to run things from a top-level project. i'm interested in simple
properties not building or doing anything else with the project. my plugin does
just that with a little elbow grease. i could also just
The point I am making is that you should check the reactor list *FIRST* and
if not there *ONLY THEN* do you go and build the project. The Maven build
itself may have modified the pom files that are in the reactor during the
course of the build (not encouraged but possible... I've heard of people
Just for records, I'd like to state that you're creating something that is
not the Maven way. In Maven, projects should be self-contained and only
rely on dependencies to artifacts (not source code).
/Anders
On Thu, Dec 13, 2012 at 2:13 PM, Marcos Mendez mar...@jitisoft.com wrote:
reactor
Thanks. Doesn't apply to me. I've solved it in a good way.
On Dec 13, 2012, at 8:22 AM, Stephen Connolly wrote:
The point I am making is that you should check the reactor list *FIRST* and
if not there *ONLY THEN* do you go and build the project. The Maven build
itself may have modified the
Does anyone know to get children modules as MavenProjects?
I'm building a plugin. I've already created something to find the parent
project from any child project. Now I want to find a specific project by group
and artifact ids. So I need to traverse the hierarchy from any child module. I
can