This is an automated email from the ASF dual-hosted git repository. cstamas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 74d331b [MDEPLOY-316] Parent 42 and prerequisite 3.6.3 (#54) 74d331b is described below commit 74d331be89ed010b5d38dc6e755dcab327baf56c Author: Tamas Cservenak <ta...@cservenak.net> AuthorDate: Wed Apr 24 16:11:46 2024 +0200 [MDEPLOY-316] Parent 42 and prerequisite 3.6.3 (#54) Update parent to 42 and prerequisite to Maven 3.6.3 --- https://issues.apache.org/jira/browse/MDEPLOY-316 --- .github/workflows/maven-verify.yml | 2 ++ pom.xml | 4 ++-- src/main/java/org/apache/maven/plugins/deploy/AbstractDeployMojo.java | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index 932827c..681f3d3 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -25,3 +25,5 @@ jobs: build: name: Verify uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4 + with: + jdk-distribution-matrix: '[ "zulu" ]' 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) {