Projects
openEuler:24.03:SP1:Everything:64G
maven-artifact-transfer
_service:tar_scm:0001-Compatibility-with-Maven-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Compatibility-with-Maven-3.0.3-and-later.patch of Package maven-artifact-transfer
From e5f2d4a0133d598bc12b9d76292f6cf0c62448bf Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski <mizdebsk@redhat.com> Date: Mon, 12 Oct 2015 13:28:56 +0200 Subject: [PATCH] Compatibility with Maven 3.0.3 and later --- .../internal/Maven31ArtifactRepositoryAdapter.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/java/org/apache/maven/shared/dependencies/collect/internal/Maven31ArtifactRepositoryAdapter.java b/src/main/java/org/apache/maven/shared/dependencies/collect/internal/Maven31ArtifactRepositoryAdapter.java index 5de5dbb..11b7453 100644 --- a/src/main/java/org/apache/maven/shared/dependencies/collect/internal/Maven31ArtifactRepositoryAdapter.java +++ b/src/main/java/org/apache/maven/shared/dependencies/collect/internal/Maven31ArtifactRepositoryAdapter.java @@ -19,6 +19,7 @@ package org.apache.maven.shared.dependencies.collect.internal; * under the License. */ +import java.util.Collections; import java.util.List; import org.apache.maven.artifact.Artifact; @@ -263,4 +264,23 @@ public class Maven31ArtifactRepositoryAdapter implements ArtifactRepository } return true; } + + private List<ArtifactRepository> mirroredRepositories = Collections.emptyList(); + + public List<ArtifactRepository> getMirroredRepositories() + { + return mirroredRepositories; + } + + public void setMirroredRepositories( List<ArtifactRepository> mirroredRepositories ) + { + if ( mirroredRepositories != null ) + { + this.mirroredRepositories = mirroredRepositories; + } + else + { + this.mirroredRepositories = Collections.emptyList(); + } + } } -- 2.7.4
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2