Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for snapshotsOf (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/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)
  10. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                String id,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases) {
            if (snapshots == null) {
                snapshots = new ArtifactRepositoryPolicy();
            }
    
            if (releases == null) {
                releases = new ArtifactRepositoryPolicy();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top