Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for getBaseVersion (0.23 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            Versioning versioning = new Versioning();
            versioning.addVersion(artifact.getBaseVersion());
            if (!artifact.isSnapshot()) {
                versioning.setRelease(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.setLatest(artifact.getBaseVersion());
            }
    
            metadata.setVersioning(versioning);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("ut.simple", depArtifact.getGroupId());
            assertEquals("dependency", depArtifact.getArtifactId());
            assertEquals("1.0", depArtifact.getVersion());
            assertEquals("1.0", depArtifact.getBaseVersion());
            assertNull(depArtifact.getFile());
            assertFalse(depArtifact.isSnapshot());
            assertEquals("", depArtifact.getClassifier());
            assertEquals("jar", depArtifact.getExtension());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            return a -> matches(artifact.getGroupId(), a.getGroupId())
                    && matches(artifact.getArtifactId(), a.getArtifactId())
                    && matches(artifact.getBaseVersion(), a.getBaseVersion())
                    && matches(artifact.getExtension(), a.getExtension())
                    && matches(artifact.getClassifier(), a.getClassifier());
        }
    
        private static class Relocation {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        public void setFile(File destination) {
            artifact.setFile(destination);
            project.getArtifact().setFile(destination);
        }
    
        /** {@inheritDoc} */
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        /** {@inheritDoc} */
        public void setBaseVersion(String baseVersion) {
            artifact.setBaseVersion(baseVersion);
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         *
         * @return whether this metadata should be stored alongside the group
         */
        boolean storedInGroupDirectory();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getBaseVersion();
    
        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
         *
         * @param repository the remote repository it came from
         * @return the filename
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

        /**
         * {@return the version of the artifact}
         * Contrarily to {@link ArtifactCoordinates},
         * each {@code Artifact} is associated to a specific version instead of a range of versions.
         * If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT},
         * those keywords are replaced by, for example, the actual timestamp.
         *
         * @see ArtifactCoordinates#getVersionConstraint()
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
        void addMetadata(ArtifactMetadata metadata);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        public String getGroupId() {
            return artifact.getGroupId();
        }
    
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        public String getBaseVersion() {
            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        public Object getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

            return artifact.getExtension();
        }
    
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top