You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2024/04/24 13:56:58 UTC
(maven-deploy-plugin) branch MDEPLOY-316 created (now a6def64)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a change to branch MDEPLOY-316
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
at a6def64 [MDEPLOY-316] Parent 42 and prerequisite 3.6.3
This branch includes the following new commits:
new a6def64 [MDEPLOY-316] Parent 42 and prerequisite 3.6.3
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-deploy-plugin) 01/01: [MDEPLOY-316] Parent 42 and prerequisite 3.6.3
Posted by cs...@apache.org.
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) {