Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6238

maven deploy-file do not evalute ci friendly names from pom.xml

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.5.0
    • None
    • None
    • None

    Description

      Sample command:

      ./mvnw deploy:deploy-file -Drevision=100   -Durl=http://foo//nexus/repository/maven-snapshot/ -DrepositoryId=foo-nexus -DpomFile=pom.xml -Dfile=target/foo-stubs.jar   -Dclassifier=stubs
      

      Version and other meta information should be read from pom.xml:

          <groupId>foo</groupId>
          <artifactId>foo</artifactId>
          <version>${revision}</version>
          <packaging>jar</packaging>
      

      And partially they are, but uploaded version is not:

      [INFO] Building foo 100
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-deploy-plugin:2.8.2:deploy-file (default-cli) @ git ---
      [INFO] Uploading: http://foo//nexus/repository/maven-snapshot/foo/$%7Brevision%7D/foo-$%7Brevision%7D-stubs.jar
      [INFO] Uploading: http://foo//nexus/repository/maven-snapshot/foo/$%7Brevision%7D/foo-$%7Brevision%7D.pom
      

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            mariuszs Mariusz Smykuła
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment