Author: gboue Date: Fri Nov 11 20:36:18 2016 New Revision: 1769339 URL: http://svn.apache.org/viewvc?rev=1769339&view=rev Log: [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. Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/attach-release-jar/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/offline/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/release-jar/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/it/release-pom/pom.xml maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java maven/plugins/trunk/maven-deploy-plugin/src/site/apt/file-deployment.apt maven/plugins/trunk/maven-deploy-plugin/src/site/apt/index.apt.vm maven/plugins/trunk/maven-deploy-plugin/src/site/apt/usage.apt maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-169_deploy-at-end-multithread/pom.xml Fri Nov 11 20:36:18 2016 @@ -39,7 +39,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-170_deploy-at-end-configperproject/pom.xml Fri Nov 11 20:36:18 2016 @@ -39,7 +39,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-202_deployfile-with-multiple-executions/pom.xml Fri Nov 11 20:36:18 2016 @@ -38,7 +38,6 @@ <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/MDEPLOY-213/pom.xml Fri Nov 11 20:36:18 2016 @@ -37,7 +37,6 @@ under the License. <repository> <id>it</id> <url>file://${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/attach-release-jar/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/attach-release-jar/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/attach-release-jar/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/attach-release-jar/pom.xml Fri Nov 11 20:36:18 2016 @@ -40,7 +40,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-fail/pom.xml Fri Nov 11 20:36:18 2016 @@ -39,7 +39,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/deploy-at-end-pass/pom.xml Fri Nov 11 20:36:18 2016 @@ -39,7 +39,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/offline/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/offline/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/offline/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/offline/pom.xml Fri Nov 11 20:36:18 2016 @@ -39,7 +39,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/release-jar/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/release-jar/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/release-jar/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/release-jar/pom.xml Fri Nov 11 20:36:18 2016 @@ -40,7 +40,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/it/release-pom/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/it/release-pom/pom.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/it/release-pom/pom.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/it/release-pom/pom.xml Fri Nov 11 20:36:18 2016 @@ -40,7 +40,6 @@ under the License. <repository> <id>it</id> <url>file:///${basedir}/target/repo</url> - <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java Fri Nov 11 20:36:18 2016 @@ -104,8 +104,7 @@ public abstract class AbstractDeployMojo } protected ArtifactRepository createDeploymentArtifactRepository( String id, String url, - ArtifactRepositoryLayout layout, - boolean uniqueVersion2 ) + ArtifactRepositoryLayout layout ) { return new MavenArtifactRepository( id, url, layout, new ArtifactRepositoryPolicy(), new ArtifactRepositoryPolicy() ); Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java Fri Nov 11 20:36:18 2016 @@ -191,9 +191,13 @@ public class DeployFileMojo /** * Whether to deploy snapshots with a unique version or not. + * + * @deprecated As of Maven 3, this isn't supported anymore and this parameter is only present to break the build + * if you use it! */ - @Parameter( property = "uniqueVersion", defaultValue = "true" ) - private boolean uniqueVersion; + @Parameter( property = "uniqueVersion" ) + @Deprecated + private Boolean uniqueVersion; /** * The component used to validate the user-supplied artifact coordinates. @@ -324,6 +328,13 @@ public class DeployFileMojo public void execute() throws MojoExecutionException, MojoFailureException { + if ( uniqueVersion != null ) + { + throw new MojoExecutionException( "You are using 'uniqueVersion' which has been removed" + + " from the maven-deploy-plugin. " + + "Please see the >>Major Version Upgrade to version 3.0.0<< on the plugin site." ); + } + failIfOffline(); if ( !file.exists() ) @@ -338,7 +349,7 @@ public class DeployFileMojo ArtifactRepositoryLayout layout = getLayout( repositoryLayout ); ArtifactRepository deploymentRepository = - createDeploymentArtifactRepository( repositoryId, url, layout, uniqueVersion ); + createDeploymentArtifactRepository( repositoryId, url, layout ); String protocol = deploymentRepository.getProtocol(); Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java Fri Nov 11 20:36:18 2016 @@ -252,7 +252,7 @@ public class DeployMojo ArtifactRepositoryLayout repoLayout = getLayout( layout ); - repo = createDeploymentArtifactRepository( id, url, repoLayout, true ); + repo = createDeploymentArtifactRepository( id, url, repoLayout ); } } Modified: maven/plugins/trunk/maven-deploy-plugin/src/site/apt/file-deployment.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/site/apt/file-deployment.apt?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/site/apt/file-deployment.apt (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/site/apt/file-deployment.apt Fri Nov 11 20:36:18 2016 @@ -38,8 +38,6 @@ File Deployment * {{{./examples/deploying-sources-javadoc.html}Deploy an artifact with sources and javadoc jars}} - * {{{./examples/disabling-timestamps-suffix.html}Disable timestamps suffix in an artifact}} - * {{{./examples/deploying-in-legacy-layout.html}Deploy an artifact in legacy layout}} [] \ No newline at end of file Modified: maven/plugins/trunk/maven-deploy-plugin/src/site/apt/index.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/site/apt/index.apt.vm?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/site/apt/index.apt.vm (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/site/apt/index.apt.vm Fri Nov 11 20:36:18 2016 @@ -75,6 +75,16 @@ ${project.name} [] +* Major Version Upgrade to version 3.0.0 + + Please note that the following parameter has been completely removed from the plugin configuration: + + * uniqueVersion + + [] + + As of Maven 3, snapshot artifacts will always be deployed using a timestamped version. + * Usage General instructions on how to use the Deploy Plugin can be found on the {{{./usage.html}usage page}}. Some more Modified: maven/plugins/trunk/maven-deploy-plugin/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/site/apt/usage.apt?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/site/apt/usage.apt (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/site/apt/usage.apt Fri Nov 11 20:36:18 2016 @@ -119,8 +119,7 @@ mvn deploy:deploy-file -Durl=file://C:\m [-Dclassifier=test] \ [-DgeneratePom=true] \ [-DgeneratePom.description="My Project Description"] \ - [-DrepositoryLayout=legacy] \ - [-DuniqueVersion=false] + [-DrepositoryLayout=legacy] +---+ If the following required information is not specified in some way, the goal Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java Fri Nov 11 20:36:18 2016 @@ -600,9 +600,8 @@ public class DeployMojoTest setVariableValueToObject( mojo, "repositoryLayouts", Collections.singletonMap( "default", repositoryLayout ) ); ArtifactRepository repository = mock( ArtifactRepository.class ); - when( - mojo.createDeploymentArtifactRepository( "altSnapshotDeploymentRepository", "http://localhost", - repositoryLayout, true ) ).thenReturn( repository ); + when( mojo.createDeploymentArtifactRepository( "altSnapshotDeploymentRepository", "http://localhost", + repositoryLayout ) ).thenReturn( repository ); project.setVersion( "1.0-SNAPSHOT" ); @@ -623,9 +622,8 @@ public class DeployMojoTest setVariableValueToObject( mojo, "repositoryLayouts", Collections.singletonMap( "default", repositoryLayout ) ); ArtifactRepository repository = mock( ArtifactRepository.class ); - when( - mojo.createDeploymentArtifactRepository( "altReleaseDeploymentRepository", "http://localhost", - repositoryLayout, true ) ).thenReturn( repository ); + when( mojo.createDeploymentArtifactRepository( "altReleaseDeploymentRepository", "http://localhost", + repositoryLayout ) ).thenReturn( repository ); project.setVersion( "1.0" ); Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-artifact-not-jar/plugin-config.xml Fri Nov 11 20:36:18 2016 @@ -29,7 +29,6 @@ under the License. <file>${basedir}/src/test/resources/unit/deploy-file-artifact-not-jar/target/deploy-test-file.zip</file> <repositoryId>deploy-test</repositoryId> <url>file://${basedir}/target/remote-repo/deploy-file-artifact-not-jar</url> - <uniqueVersion>true</uniqueVersion> <repositoryLayout>default</repositoryLayout> <generatePom>true</generatePom> </configuration> Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-classifier/plugin-config.xml Fri Nov 11 20:36:18 2016 @@ -30,7 +30,6 @@ under the License. <file>${basedir}/src/test/resources/unit/deploy-file-classifier/target/deploy-test-file-1.0-SNAPSHOT.jar</file> <repositoryId>deploy-test</repositoryId> <url>file://${basedir}/target/remote-repo/deploy-file-classifier</url> - <uniqueVersion>true</uniqueVersion> <classifier>bin</classifier> <repositoryLayout>default</repositoryLayout> <generatePom>true</generatePom> Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-legacy-repository-layout/plugin-config.xml Fri Nov 11 20:36:18 2016 @@ -30,7 +30,6 @@ under the License. <file>${basedir}/src/test/resources/unit/deploy-file-legacy-repository-layout/target/deploy-test-file-1.0-SNAPSHOT.jar</file> <repositoryId>deploy-test</repositoryId> <url>file://${basedir}/target/remote-repo/deploy-file-legacy-repository-layout</url> - <uniqueVersion>true</uniqueVersion> <repositoryLayout>legacy</repositoryLayout> <generatePom>true</generatePom> </configuration> Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== Binary files maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml (original) and maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-pom-file/plugin-config.xml Fri Nov 11 20:36:18 2016 differ Modified: maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml?rev=1769339&r1=1769338&r2=1769339&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/test/resources/unit/deploy-file-test/plugin-config.xml Fri Nov 11 20:36:18 2016 @@ -31,7 +31,6 @@ under the License. <repositoryId>deploy-test</repositoryId> <url>file://${basedir}/target/remote-repo/deploy-file-test</url> <description>POM was created from deploy:deploy-file</description> - <uniqueVersion>true</uniqueVersion> <repositoryLayout>default</repositoryLayout> <generatePom>true</generatePom> </configuration>