Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0
-
None
-
None
-
Windows XP, Maven 2.2.1
Description
Hello,
i have an issue using the maven release plugin 2.0, previous versions did not have this issue.
In a multimodule project, release:prepare exits with the attached stack trace.
After a litte debugging, i found out that in ReleaseUtil, line 188
String dir = FileUtils.normalize( p.getBasedir().getPath().replace( '
', '/' ) );
returns "c:\..." for the parent module, but "C:\..." for the first submodule.
So in line 202
basedir = StringUtils.getCommonPrefix( new String[]
);
results in an empty String, which leads to the exception in line 206.
I will try to compose a simple example as soon as possible.
Attachments
Attachments
Issue Links
- duplicates
-
MRELEASE-536 CommonBasedir Calculation fails on windows
- Closed