Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:maven-2.0.5, Windows XP, (shells used: cygwin bash, eclipse, and cmd.exe)
-
Number of attachments :
Description
The default location for the local repository on windows is "C:\Documents and Settings\username\.m2\repository".
The space in "Documents and Settings" throws the deploy goal off and it fails with the following message:
no protocol: and
Workaround: Change the local repository setting in settings.xml to a path with no spaces in it.
Here's a quick workaround for this bug (until it gets fixed):
Create ~/.m2/settings.xml file with this content:
<settings>
<localRepository>${HOMEDRIVE}/Docume~1/${USERNAME}/.m2/repository</localRepository>
</settings>