Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyArtifactSafe (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    List<ArtifactRepository> remoteRepositories) {
                this.pomArtifact = ArtifactUtils.copyArtifact(pomArtifact);
                this.relocatedArtifact = ArtifactUtils.copyArtifactSafe(relocatedArtifact);
                this.artifacts = ArtifactUtils.copyArtifacts(artifacts, new ArrayList<>());
                this.remoteRepositories = new ArrayList<>(remoteRepositories);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                    artifactMap.put(versionlessKey(artifact), artifact);
                }
            }
    
            return artifactMap;
        }
    
        public static Artifact copyArtifactSafe(Artifact artifact) {
            return (artifact != null) ? copyArtifact(artifact) : null;
        }
    
        public static Artifact copyArtifact(Artifact artifact) {
            VersionRange range = artifact.getVersionRange();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setRequiredMavenVersion(original.getRequiredMavenVersion());
            this.setRequiredJavaVersion(original.getRequiredJavaVersion());
            this.setPluginArtifact(ArtifactUtils.copyArtifactSafe(original.getPluginArtifact()));
            this.setComponents(clone(original.getMojos(), this));
            this.setId(original.getId());
            this.setIsolatedRealm(original.isIsolatedRealm());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top