[
https://jira.codehaus.org/browse/MDEPLOY-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276640#comment-276640
]
Stephen Connolly commented on MDEPLOY-99:
-----------------------------------------
MDEPLOY-137 should handle the case where you want to deploy multiple artifacts.
Otherwise I think this should be resolved as not a bug.
> deploy:deploy-file over rights maven-metadata.xml
> -------------------------------------------------
>
> Key: MDEPLOY-99
> URL: https://jira.codehaus.org/browse/MDEPLOY-99
> Project: Maven 2.x Deploy Plugin
> Issue Type: Bug
> Components: deploy:deploy-file
> Affects Versions: 2.4
> Environment: Windows XP
> Reporter: Jim McCaskey
> Labels: scrub-review-started
>
> Using deploy:deploy-file to add multiple version of an artifact causes the
> artifactId maven-metadata.xml file to be recreated new and the old contents
> to be removed. Once done I am left with contents like this:
> <?xml version="1.0" encoding="UTF-8"?><metadata>
> <groupId>com.pervasive.component</groupId>
> <artifactId>artifact-distribution</artifactId>
> <version>4.0.2.11</version>
> <versioning>
> <versions>
> <version>4.0.2.11</version>
> </versions>
> <lastUpdated>20090401013925</lastUpdated>
> </versioning>
> </metadata>
> This is using Maven 2.1.0 and maven-deploy-plugin 2.4.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira