Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for ArtifactVersion (0.17 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

    @Singleton
    public class DefaultRuntimeInformation implements RuntimeInformation, Initializable {
    
        @Inject
        private org.apache.maven.rtinfo.RuntimeInformation rtInfo;
    
        private ArtifactVersion applicationVersion;
    
        public ArtifactVersion getApplicationVersion() {
            return applicationVersion;
        }
    
        public void initialize() throws InitializationException {
            String mavenVersion = rtInfo.getMavenVersion();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
                if (newerFirst) {
                    return v1.compareTo(v2) > 0 ? e1 : e2;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataSource.java

                throws ArtifactMetadataRetrievalException;
    
        List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                throws ArtifactMetadataRetrievalException;
    
        List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (this == other) {
                return true;
            }
    
            if (!(other instanceof ArtifactVersion)) {
                return false;
            }
    
            return compareTo((ArtifactVersion) other) == 0;
        }
    
        public int compareTo(ArtifactVersion otherVersion) {
            if (otherVersion instanceof DefaultArtifactVersion) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        boolean isRelease();
    
        void setRelease(boolean release);
    
        List<ArtifactVersion> getAvailableVersions();
    
        void setAvailableVersions(List<ArtifactVersion> versions);
    
        boolean isOptional();
    
        void setOptional(boolean optional);
    
        ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            throw new UnsupportedOperationException("Cannot get available versions in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            artifact.setRelease(release);
        }
    
        /** {@inheritDoc} */
        public List<ArtifactVersion> getAvailableVersions() {
            return artifact.getAvailableVersions();
        }
    
        /** {@inheritDoc} */
        public void setAvailableVersions(List<ArtifactVersion> versions) {
            artifact.setAvailableVersions(versions);
        }
    
        /** {@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)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public boolean isRelease() {
            return release;
        }
    
        @Override
        public List<ArtifactVersion> getAvailableVersions() {
            return availableVersions;
        }
    
        @Override
        public void setAvailableVersions(List<ArtifactVersion> availableVersions) {
            this.availableVersions = availableVersions;
        }
    
        @Override
        public boolean isOptional() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.metadata.ResolutionGroup;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/execution/RuntimeInformation.java

     */
    package org.apache.maven.execution;
    
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    
    /**
     * Describes runtime information about the application.
     *
     * @deprecated Use {@link org.apache.maven.rtinfo.RuntimeInformation} instead.
     */
    @Deprecated
    public interface RuntimeInformation {
        ArtifactVersion getApplicationVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top