[ https://issues.apache.org/jira/browse/MDEPLOY-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15658221#comment-15658221 ]
Hudson commented on MDEPLOY-211: -------------------------------- SUCCESS: Integrated in Jenkins build maven-plugins #7598 (See [https://builds.apache.org/job/maven-plugins/7598/]) [MDEPLOY-211] uniqueVersion broken (if not supported, should be removed from doc, and warning printed) The parameter uniqueVersion in the deploy-file goal isn't supported since Maven 3, so it is removed from the code base and from the documentation of the plugin. A check is made to fail the build if it is still used, and the index page mentions the removal. (gboue: [http://svn.apache.org/viewvc/?view=rev&rev=1769339]) * (edit) maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml * (edit) maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml * (edit) maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml * (edit) maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml * (edit) maven-deploy-plugin/src/it/attach-release-jar/pom.xml * (edit) maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml * (edit) maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml * (edit) maven-deploy-plugin/src/it/offline/pom.xml * (edit) maven-deploy-plugin/src/it/release-jar/pom.xml * (edit) maven-deploy-plugin/src/it/release-pom/pom.xml * (edit) maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java * (edit) maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java * (edit) maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java * (edit) maven-deploy-plugin/src/site/apt/file-deployment.apt * (edit) maven-deploy-plugin/src/site/apt/index.apt.vm * (edit) maven-deploy-plugin/src/site/apt/usage.apt * (edit) maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java * (edit) maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml * (edit) maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml * (edit) maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml * (edit) maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml * (edit) maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml > uniqueVersion broken (if not supported, should be removed from doc, and > warning printed) > ---------------------------------------------------------------------------------------- > > Key: MDEPLOY-211 > URL: https://issues.apache.org/jira/browse/MDEPLOY-211 > Project: Maven Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Reporter: Michael Vorburger > > Doc on 1. http://maven.apache.org/plugins/maven-deploy-plugin/usage.html as > well as 2. > http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html as > well as 3. > http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html > (link "Disable timestamps suffix in an artifact", currently broken!) > currently mentions a uniqueVersion. > This appears to be broken at least with Maven v3.3.9. For example, if I do: > {noformat}$ mvn deploy:deploy-file -Durl=file:///tmp/system > -DrepositoryId=some.id -Dfile=target/hello-impl-0.1.0-SNAPSHOT.jar > -DpomFile=pom.xml -DuniqueVersion=false > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building hello-impl 0.1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-deploy-plugin:2.8.2:deploy-file (default-cli) @ hello-impl > --- > Downloading: > file:///tmp/system/org/opendaylight/vorburger/hello/hello-impl/0.1.0-SNAPSHOT/maven-metadata.xml > Uploading: > file:///tmp/system/org/opendaylight/vorburger/hello/hello-impl/0.1.0-SNAPSHOT/hello-impl-0.1.0-20160618.170929-1.jar > {noformat} > Note hello-impl-0.1.0-20160618.170929-1.jar despite -DuniqueVersion=false. > If this possibility has been removed, as I have the feeling it has been from > posts incl. MDEPLOY-44 (that was about adding uniqueVersion to deploy just > like, supposedly, it is on deploy-file; this is about it not even working on > deploy-file, anymore), then before you close this as WONTFIX, I would argue > this current half removal is confusing to say the least .. > If this is not coming back, then the uniqueVersion configuration should be > fully removed from maven-deploy-plugin, and the documentation in at least 3 > places referred to above should be cleaned up accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)