- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setLocalCopy (0.09 sec)
-
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) -
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) -
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) -
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) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
changed = true; } if ( s.isLocalCopy() != snapshot.isLocalCopy() ) { s.setLocalCopy( snapshot.isLocalCopy() ); changed = true; } if ( updateSnapshotVersions ) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
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)