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

deploy snapshot without timestamp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: deploy:deploy
    • Labels:
      None
    • Environment:
      Maven 3.0.3
      Ubuntu 11.10

      Description

      I've created maven project in which I want to deploy snapshot version to snapshot repository without timestamp.
      So, in tag snapshotRepository I've declared snapshot repo like this:

      <distributionManagement>
      	<!-- ... -->
      	<snapshotRepository>
      		<id>repo-snapshots</id>
      		<name>Snapshots maven repository</name>
      		<url>[repo snapshot url]</url>
      		<uniqueVersion>false</uniqueVersion>
      	</snapshotRepository>
      	<!-- ... -->
      </distributionManagement>
      

      What is important, I've added <uniqueVersion>false</uniqueVersion> to force deploy process to not add tiestamp. But after invoking goal

      mvn deploy
      

      In repo is uploded snapshot with timestamp instead of SNAPSHOT postfix

      Full prepared pom.xml for testing is in attachment for this issue.

        Attachments

        1. pom.xml
          2 kB
          Łukasz Strzelecki

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lstrzelecki Łukasz Strzelecki
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: