Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for Snapshots (0.08 sec)

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

            if (snapshots == null) {
                snapshots = new ArtifactRepositoryPolicy(
                        true,
                        ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                        ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
            }
    
            this.snapshots = snapshots;
    
            if (releases == null) {
                releases = new ArtifactRepositoryPolicy(
                        true,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

                    RemoteSnapshotMetadata snapshotMetadata = snapshots.get(key);
                    if (snapshotMetadata == null) {
                        snapshotMetadata = new RemoteSnapshotMetadata(artifact, timestamp, buildNumber);
                        snapshots.put(key, snapshotMetadata);
                    }
                    snapshotMetadata.bind(artifact);
                }
            }
    
            return snapshots.values();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

                String layoutId,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases)
                throws UnknownRepositoryLayoutException;
    
        ArtifactRepository createArtifactRepository(
                String id,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        public ArtifactRepositoryLayout getLayout() {
            return layout;
        }
    
        public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy snapshots) {
            this.snapshots = snapshots;
        }
    
        public ArtifactRepositoryPolicy getSnapshots() {
            return snapshots;
        }
    
        public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy releases) {
            this.releases = releases;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. apache-maven/pom.xml

      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <id>apache.snapshots</id>
          <url>https://repository.apache.org/snapshots/</url>
        </pluginRepository>
      </pluginRepositories>
    
      <build>
        <finalName>${distributionFileName}</finalName>
        <plugins>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:41:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

    class DefaultMirrorSelectorTest {
        @Test
        void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() {
            ArtifactRepository repository = new DefaultArtifactRepository("snapshots.repo", "http://whatever", null);
            String pattern = "external:*, !snapshots.repo";
            assertFalse(DefaultMirrorSelector.matchPattern(repository, pattern));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

    /**
     * Maven local GAV level metadata generator.
     * <p>
     * Local snapshot metadata contains non-transformed snapshot version.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    class LocalSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                String id,
                String url,
                String layoutId,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases)
                throws UnknownRepositoryLayoutException {
            return injectSession(factory.createArtifactRepository(id, url, layoutId, snapshots, releases), true);
        }
    
        public ArtifactRepository createArtifactRepository(
                String id,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            String version = null;
            Snapshot snapshot = versioning.getSnapshot();
            if (snapshot != null) {
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases) {
            if (snapshots == null) {
                snapshots = new ArtifactRepositoryPolicy();
            }
    
            if (releases == null) {
                releases = new ArtifactRepositoryPolicy();
            }
    
            if (globalUpdatePolicy != null) {
                snapshots.setUpdatePolicy(globalUpdatePolicy);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top