maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANTTASKS-103) Can't deploy to a file: repository
Date Sat, 05 Jan 2008 17:12:57 GMT

    [ http://jira.codehaus.org/browse/MANTTASKS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_118835
] 

Herve Boutemy commented on MANTTASKS-103:
-----------------------------------------

I don't have a windows computer to test it : I'll need your help.
Can you :
1. run your test with "ant -v", to have a full stacktrace of the problem ?
2. test with Maven Core : add a distributionManagement section in the test pom (see http://maven.apache.org/ref/current/maven-model/maven.html#class_distributionManagement),
and run "mvn deploy" ?


> 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
>         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

        

Mime
View raw message