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

deploy snapshot without timestamp

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.7
    • None
    • deploy:deploy
    • None
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment