[ https://issues.apache.org/jira/browse/MDEPLOY-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965702#comment-17965702 ]
Olivier Lamy commented on MDEPLOY-99: ------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#454|https://github.com/apache/maven-deploy-plugin/issues/454]. > deploy:deploy-file overwrites maven-metadata.xml > ------------------------------------------------ > > Key: MDEPLOY-99 > URL: https://issues.apache.org/jira/browse/MDEPLOY-99 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: Bug > Components: deploy:deploy-file > Affects Versions: 2.4 > Environment: Windows XP > Maven 2.1.0 > Reporter: jmccaske > Assignee: Robert Scholte > Priority: Major > 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: > {code:xml} > <?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> > {code} > This is using Maven 2.1.0 and maven-deploy-plugin 2.4. -- This message was sent by Atlassian Jira (v8.20.10#820010)