Sadly to say Edwin patch introduce a major problem for me. I am current testing a maven.jar built by Edwin.
It is best that I decribe my usage of Maven and introduce the scenario as I go along.
I have a tree of project directories that from the root, I can
issue "maven multiproject:install" which can transverse to all
subdirectories and build/install artifact to my local repo.
Some subtrees are ignored completely.
So here is how I structure it.
- In my root, I set maven.multiproject.type=ignore
in my project.properties
- Add a do nothing goal "ignore:install" to maven.xml
This way, any sub tree with does not define maven.multiproject.type
will inherite the root definition, and therefore multiproject plugin
will invoke the do nothing goal "ignore:install"
For those subtrees that I want multiproject goal to build, all I need is to define "maven.multiproject.type=multiproject" in the subtree's project.properties file
For those project (leaf) that I want mutlproject goal to build, all I need is to define "maven.multiproject.type=jar|war..." in project.properties
The problem here is If start do a build from a subtree,
any maven.multiproeject.type defined in the subtree of this subtree, are ignored, and therefore inherit the root's value. And there for
all my intended buildable subtrees are igored.
In summary, please reverse the patch