[ https://jira.codehaus.org/browse/MDEPLOY-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MDEPLOY-99: ---------------------------------- Description: 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. was: 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. Environment: Windows XP Maven 2.1.0 was:Windows XP > deploy:deploy-file over rights maven-metadata.xml > ------------------------------------------------- > > Key: MDEPLOY-99 > URL: https://jira.codehaus.org/browse/MDEPLOY-99 > Project: Maven 2.x and 3.x Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Affects Versions: 2.4 > Environment: Windows XP > Maven 2.1.0 > 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: > {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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira