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
- Is contained by
-
MDEPLOY-223 maven deploy-file do not evaluate ci friendly variables from pom.xml
- Closed