Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for snapshotVersion (0.09 sec)

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

            if (version != null) {
                if (version.regionMatches(
                        true,
                        version.length() - Artifact.SNAPSHOT_VERSION.length(),
                        Artifact.SNAPSHOT_VERSION,
                        0,
                        Artifact.SNAPSHOT_VERSION.length())) {
                    return true;
                } else {
                    return Artifact.VERSION_FILE_PATTERN.matcher(version).matches();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/site/apt/index.apt

           <<<versioning>>> element that gives data about snapshot (<<<snapshot>>>, <<<lastUpdated>>> and <<<snapshotVersions>>> list). Notice that a
           release artifact directory is not expected to provide metadata.
    
     []
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

    public interface Artifact extends Comparable<Artifact> {
    
        @Deprecated(since = "4.0.0")
        String RELEASE_VERSION = "RELEASE";
    
        @Deprecated(since = "4.0.0")
        String LATEST_VERSION = "LATEST";
    
        String SNAPSHOT_VERSION = "SNAPSHOT";
    
        Pattern VERSION_FILE_PATTERN = Pattern.compile("^(.*)-(\\d{8}\\.\\d{6})-(\\d+)$");
    
        // TODO into artifactScope handler
    
        String SCOPE_COMPILE = "compile";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
                    version = baseVersion;
                }
            }
            return version;
        }
    
        private int resolveLatestSnapshotBuildNumber(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            this.artifactId = artifactId;
        }
    
        @Override
        public boolean isSnapshot() {
            return getBaseVersion() != null
                    && (getBaseVersion().endsWith(SNAPSHOT_VERSION)
                            || getBaseVersion().equals(LATEST_VERSION));
        }
    
        @Override
        public void setResolved(boolean resolved) {
            this.resolved = resolved;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top