This is an automated email from the ASF dual-hosted git repository. cstamas pushed a commit to branch MDEPLOY-316 in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
commit a6def64cdc445a5d821fd9ece2e8c93509fe3ef9 Author: Tamas Cservenak <ta...@cservenak.net> AuthorDate: Wed Apr 24 15:56:31 2024 +0200 [MDEPLOY-316] Parent 42 and prerequisite 3.6.3 --- pom.xml | 4 ++-- src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f8422a8..92c4bc0 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> - <version>41</version> + <version>42</version> <relativePath /> </parent> @@ -43,7 +43,7 @@ under the License. </contributors> <prerequisites> - <maven>3.2.5</maven> + <maven>3.6.3</maven> </prerequisites> <scm> diff --git a/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java b/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java index 2c5c1d9..d8da692 100644 --- a/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java +++ b/src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java @@ -99,6 +99,7 @@ public abstract class AbstractDeployMojo extends AbstractMojo { * Creates resolver {@link RemoteRepository} equipped with needed whistles and bells. */ protected RemoteRepository getRemoteRepository(final String repositoryId, final String url) { + // TODO: RepositorySystem#newDeploymentRepository does this very same thing! RemoteRepository result = new RemoteRepository.Builder(repositoryId, "default", url).build(); if (result.getAuthentication() == null || result.getProxy() == null) {