Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyArtifact (0.07 sec)

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

         */
        public static <T extends Collection<Artifact>> T copyArtifacts(Collection<Artifact> from, T to) {
            for (Artifact artifact : from) {
                to.add(ArtifactUtils.copyArtifact(artifact));
            }
            return to;
        }
    
        public static <K, T extends Map<K, Artifact>> T copyArtifacts(Map<K, ? extends Artifact> from, T to) {
            if (from != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. 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)
Back to top