Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-99

deploy:deploy-file overwrites maven-metadata.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.4
    • None
    • deploy:deploy-file
    • Windows XP
      Maven 2.1.0

    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:

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

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              jmccaske jmccaske
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: