Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 488 for isSnapshot (0.06 seconds)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        }
    
        @Test
        void testGetVersionReturnsResolvedVersionOnSnapshot() {
            assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion());
    
            // this is FOUL!
            //        snapshotArtifact.isSnapshot();
    
            assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion());
        }
    
        @Test
        void testGetDependencyConflictId() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                        // if the POM didn't exist, retry if any repo is configured to always update
                        boolean snapshot = pomArtifact.isSnapshot();
                        for (ArtifactRepository repository : remoteRepositories) {
                            ArtifactRepositoryPolicy policy =
                                    snapshot ? repository.getSnapshots() : repository.getReleases();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            request.addArtifact(mainArtifact);
    
            String versionKey = artifact.getGroupId() + ':' + artifact.getArtifactId();
            String snapshotKey = null;
            if (artifact.isSnapshot()) {
                snapshotKey = versionKey + ':' + artifact.getBaseVersion();
                request.addMetadata(relatedMetadata.get(snapshotKey));
            }
            request.addMetadata(relatedMetadata.get(versionKey));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
            } else if (artifact.isSnapshot() || !artifact.getFile().exists()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/resources/local-repo/snapshot-test/jars/maven-snapshot-e-1.0-SNAPSHOT.jar.snapshot-version

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 15 bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/resources/local-repo/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar.snapshot-version

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 15 bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/bad-snapshot-version.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>foo</groupId>
      <artifactId>bar</artifactId>
      <version>1.2.3.SNAPSHOT</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 917 bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/resources/local-repo/snapshot-test/poms/maven-test-snapshot-resolving-1.0.pom

        </dependency>
        <dependency>
          <groupId>snapshot-test</groupId>
          <artifactId>maven-snapshot-b</artifactId>
          <version>1.0-SNAPSHOT</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>snapshot-test</groupId>
          <artifactId>maven-snapshot-c</artifactId>
          <version>1.0-SNAPSHOT</version>
          <type>jar</type>
          <scope>compile</scope>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/resources/local-repo/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar.snapshot-version

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 15 bytes
    - Click Count (0)
Back to Top