Hide drive-relative paths from plugins
--------------------------------------
Key: MNG-3951
URL: http://jira.codehaus.org/browse/MNG-3951
Project: Maven 2
Issue Type: Improvement
Components: Plugins and Lifecycle
Affects Versions: 2.1.0-M1, 2.0.9
Environment: Windows
Reporter: Benjamin Bentmann
Priority: Minor
Take this nice path: /tmp (note the leading slash). This is an absolute path on
Unix derivates but a drive-relative path on a Windows box. Drive-relative paths
are resolved by prepending the drive of the current directory, not the entire
current directory.
This notation of a drive-relative path is not well-known, even among Windows
users, and in particular not easy going for cross-platform Java tools. A Java
developer usually assumes that a path is either (directory-)relative or
absolute.
To avoid unnecessary complications as seen on our own multi-OS CI grid (cf.
dev@ thread [CI Grid, Windows and
Paths|http://www.nabble.com/CI-Grid%2C-Windows-and-Paths-to21153292.html]) and
as reported by users (e.g. MECLIPSE-404), the core should not only align
directory-relative paths but also resolve drive-relative paths.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira