Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Future
-
Fix Version/s: Future
-
Labels:None
-
Number of attachments :
Description
Normally when you have an aggregator POM with a list of <modules>, the element lists out subdirectories of the aggregator, like this:
<modules> <module>foo</module> <module>bar</module> </modules>
But modules can be anywhere; the module list can declare relative paths to anywhere, like this:
<modules> <module>../foo</module> <module>../../bar</module> </modules>
Since the reactor plugin currently works by using "mvn --reactor", which only accepts subdirectories, it will silently fail to run these sibling modules.
Ultimately we should fix this by using the new command line switches available in 2.1. http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode In the meantime, we'll have to live with it. (Possibly include a warning? error?)
Issue Links
- is related to
-
MNG-4262
Make-like reactor mode fails to find projects selected by relative paths with leading dots
-
Alternately we could construct a temporary POM file with a list of modules in it, execute the POM file and mark it to be deleted on exit...?