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" )} ), '/' ) ); }
Attachments
Issue Links
- depends upon
-
MRELEASE-261 release:prepare should support flat directory multi-module projects
- Closed
- is duplicated by
-
MRELEASE-526 release:prepare 2.0 goal tags at the wrong level, tagging project/ instead of project/trunk
- Closed
- is related to
-
MRELEASE-582 Regression: releasing an individual module on a separate release cycle tags the entire project instead
- Closed