Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.8
-
None
-
None
-
ant 1.7.0+maven-ant-tasks-2.0.8
OS: Windows XP
Description
The artifact:deploy target doesn't work, at least not when deploying to repositories with a file:-based url.
Seem to be some issue with updating the metadata file, the path to the remote repository becomes corrupt during the metadata update.
Provided a simple testcase pointing to a repository at C:\.
The deployment fails with the following message:
[artifact:deploy] Deploying to file:C:\
[artifact:deploy] Uploading: org/dummy/dummy/1.0/dummy-1.0.jar to file:C:\
[artifact:deploy] [INFO] Retrieving previous metadata from file:C:\
[artifact:deploy] [INFO] Uploading project information for dummy 1.0
[artifact:deploy] [INFO] Retrieving previous metadata from file:C:\
[artifact:deploy] An error has occurred while processing the Maven artifact task
s.
[artifact:deploy] Diagnosis:
[artifact:deploy]
[artifact:deploy] Error deploying artifact 'org.dummy:dummy:jar': Error installi
ng artifact's metadata: Error installing metadata: Error updating group reposito
ry metadata
[artifact:deploy] C:\Documents and Settings\oland\.m2\repository\org\dummy\dummy
\maven-metadata-file:C:\.xml (The filename, directory name, or volume label synt
ax is incorrect)
[artifact:deploy]
Attachments
Attachments
Issue Links
- is related to
-
MANTTASKS-142 Default remote repository id not safe
- Closed