Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for versionRange (0.09 sec)

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

        }
    
        @Override
        public VersionRange getVersionRange() {
            return versionRange;
        }
    
        @Override
        public void setVersionRange(VersionRange versionRange) {
            this.versionRange = versionRange;
            selectVersionFromNewRangeIfAvailable();
        }
    
        private void selectVersionFromNewRangeIfAvailable() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        private String snapshotResolvedVersion = "1.0-20070606.010101-1";
    
        private VersionRange versionRange;
        private VersionRange snapshotVersionRange;
    
        private ArtifactHandlerMock artifactHandler;
    
        @BeforeEach
        void setUp() throws Exception {
            artifactHandler = new ArtifactHandlerMock();
            versionRange = VersionRange.createFromVersion(version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        @Override
        public Artifact createPluginArtifact(Plugin plugin) {
            VersionRange versionRange;
            try {
                String version = plugin.getVersion();
                if (version == null || version.isEmpty()) {
                    version = "RELEASE";
                }
                versionRange = VersionRange.createFromVersionSpec(version);
            } catch (InvalidVersionSpecificationException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                            }
    
                                            Collections.sort(versions);
    
                                            VersionRange versionRange = artifact.getVersionRange();
    
                                            version = versionRange.matchVersion(versions);
    
                                            if (version == null) {
                                                if (versions.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                return !reverse;
            } else {
                return reverse;
            }
        }
    
        private boolean matchJdkVersionRange(String jdk) throws InvalidVersionSpecificationException {
            VersionRange jdkVersionRange = VersionRange.createFromVersionSpec(convertJdkToMavenVersion(jdk));
            DefaultArtifactVersion jdkVersion = new DefaultArtifactVersion(convertJdkToMavenVersion(getJdkVersion()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

                throws InvalidVersionSpecificationException {
            VersionRange versionRange = VersionRange.createFromVersionSpec(version);
    
            return artifactFactory.createDependencyArtifact(
                    GROUP_ID, id, versionRange, "jar", null, scope, inheritedScope, optional);
        }
    
        protected ResolutionNode createResolutionNode(Artifact Artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Send resolution warning events to the warning log.
     *
     */
    @Deprecated
    public class WarningResolutionListener implements ResolutionListener {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

     *
     * {@code VersionConstraint} objects are created using the
     * {@linkplain org.apache.maven.api.services.VersionParser} service.
     *
     * @see Version
     * @see VersionRange
     * @see org.apache.maven.api.services.VersionParser#parseVersionConstraint(String)
     * @see org.apache.maven.api.Session#parseVersionConstraint(String)
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

    import org.apache.maven.api.Version;
    import org.apache.maven.api.VersionConstraint;
    import org.apache.maven.api.VersionRange;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Service interface to parse {@link Version} and {@link VersionRange}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionParser extends Service {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        List<String> getDependencyTrail();
    
        void setDependencyTrail(List<String> dependencyTrail);
    
        void setScope(String scope);
    
        VersionRange getVersionRange();
    
        void setVersionRange(VersionRange newRange);
    
        void selectVersion(String version);
    
        void setGroupId(String groupId);
    
        void setArtifactId(String artifactId);
    
        boolean isSnapshot();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top