Details
Description
Using hierachical projet structure, when the parent project is not first one in the reactor, getCommonBasedir fails to detect the common basedir
public void testGetCommonBasedirOfRegularMultiModuleRootNotBeeingFirstInReactor() throws Exception { assertEquals( "/working/directory/flat-multi-module", ReleaseUtil.getCommonBasedir( Arrays.asList( new MavenProject[]{ createProject( "/working/directory/flat-multi-module/core" ), createProject( "/working/directory/flat-multi-module" ), createProject( "/working/directory/flat-multi-module/webapp" )} ), '/' ) ); }
Issue Links
- depends upon
-
MRELEASE-261
release:prepare should support flat directory multi-module projects
-
- is duplicated by
-
MRELEASE-526
release:prepare 2.0 goal tags at the wrong level, tagging project/ instead of project/trunk
-
- is related to
-
MRELEASE-582
Regression: releasing an individual module on a separate release cycle tags the entire project instead
-
MRELEASE-261introduces a regression for hierarchical projects