[
http://jira.codehaus.org/browse/MANTTASKS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MANTTASKS-103.
-----------------------------------
Assignee: Herve Boutemy
Resolution: Fixed
Fix Version/s: 2.0.9
fixed in r613696
> Can't deploy to a file: repository
> ----------------------------------
>
> Key: MANTTASKS-103
> URL: http://jira.codehaus.org/browse/MANTTASKS-103
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Affects Versions: 2.0.8
> Environment: ant 1.7.0+maven-ant-tasks-2.0.8
> OS: Windows XP
> Reporter: Olov Andersson
> Assignee: Herve Boutemy
> Fix For: 2.0.9
>
> Attachments: maven-ant-tasks-jiratestcase.zip
>
>
> 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]
--
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