Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getBaseVersion (0.09 sec)

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

        }
    
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        public Object getKey() {
            return "snapshot " + artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getBaseVersion();
        }
    
        public boolean isSnapshot() {
            return artifact.isSnapshot();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                    || artifact.getBaseVersion().asString().isEmpty()) {
                artifact = session.createProducedArtifact(
                        artifact.getGroupId().isEmpty() ? project.getGroupId() : artifact.getGroupId(),
                        artifact.getArtifactId().isEmpty() ? project.getArtifactId() : artifact.getArtifactId(),
                        artifact.getBaseVersion().asString().isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            path.append(formatAsDirectory(artifact.getGroupId())).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(PATH_SEPARATOR);
            path.append(artifact.getBaseVersion()).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getBaseVersion());
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
            artifact.addMetadata(new ArtifactRepositoryMetadata(artifact, versioning));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K 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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertNull(artifact.getBaseVersion());
        }
    
        @Test
        void testMNG7780() throws Exception {
            VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)");
            artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler);
            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

            metadata.setModelVersion("1.1.0");
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
    
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        public Object getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                version = constructVersion(repoMetadata.getVersioning(), artifact.getBaseVersion());
            }
    
            if (version == null) {
                // use the local copy, or if it doesn't exist - go to the remote repo for it
                version = artifact.getBaseVersion();
            }
    
            // TODO also do this logging for other metadata?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        }
    
        public boolean storedInArtifactVersionDirectory() {
            return true;
        }
    
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        public Object getKey() {
            return "project " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        public void merge(ArtifactMetadata metadata) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            metadata.setVersioning(versioning);
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
            metadata.setModelVersion("1.1.0");
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top