maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Smykuła (JIRA) <j...@apache.org>
Subject [jira] [Created] (MNG-6238) maven deploy-file do not evalute ci friendly names from pom.xml
Date Tue, 30 May 2017 10:35:04 GMT
Mariusz Smykuła created MNG-6238:
------------------------------------

             Summary: maven deploy-file do not evalute ci friendly names from pom.xml
                 Key: MNG-6238
                 URL: https://issues.apache.org/jira/browse/MNG-6238
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: Mariusz Smykuła


Sample command:

{code}
./mvnw deploy:deploy-file -Drevision=100   -Durl=http://ci.devskiller.com//nexus/repository/maven-snapshot/
-DrepositoryId=devskiller-nexus -DpomFile=pom.xml -Dfile=target/git-stubs.jar   -Dclassifier=stubs
{code}

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

{code}
    <groupId>com.devskiller.git</groupId>
    <artifactId>git</artifactId>
    <version>${revision}</version>
    <packaging>jar</packaging>
{code}
And partially they are, but uploaded version is not:

{code}
[INFO] Building Devskiller GIT 100
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy-file (default-cli) @ git ---
[INFO] Uploading: http://ci.devskiller.com//nexus/repository/maven-snapshot/com/devskiller/git/git/$%7Brevision%7D/git-$%7Brevision%7D-stubs.jar
[INFO] Uploading: http://ci.devskiller.com//nexus/repository/maven-snapshot/com/devskiller/git/git/$%7Brevision%7D/git-$%7Brevision%7D.pom
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message