Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setLocalCopy (1.45 sec)

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

             */
    
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
            }
    
            Versioning versioning = new Versioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            super(metadata, path, timestamp);
        }
    
        private static Metadata createMetadata(Artifact artifact) {
            Snapshot snapshot = new Snapshot();
            snapshot.setLocalCopy(true);
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
    
            Metadata metadata = new Metadata();
            metadata.setVersioning(versioning);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            }
        }
    
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
                snapshot.setLocalCopy(true);
                RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata(artifact, snapshot);
    
                artifact.addMetadata(metadata);
            }
        }
    
        public void transformForDeployment(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                                    repaired.setLastUpdated(versioning.getLastUpdated());
                                    repaired.setSnapshot(new Snapshot());
                                    repaired.getSnapshot().setLocalCopy(true);
                                    versioning = repaired;
                                    throw new IOException("Snapshot information corrupted with remote repository data"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                && (m.getVersioning().getSnapshot() != null)
                                && m.getVersioning().getSnapshot().isLocalCopy()) {
                            m.getVersioning().getSnapshot().setLocalCopy(false);
                            metadata.setMetadata(m);
                            metadata.storeInLocalRepository(localRepository, repository);
                        }
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top