- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for ranges (0.23 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
ranges.add(new RangeValue(token.replace("]", ""), true)); } else if (token.endsWith(")")) { ranges.add(new RangeValue(token.replace(")", ""), false)); } else if (token.isEmpty()) { ranges.add(new RangeValue("", false)); } } if (ranges.size() < 2) { ranges.add(new RangeValue("99999999", false)); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
* specified version range. * <p> * The restrictions of the returned version range will be an intersection of the restrictions * of this version range and the specified version range if both version ranges have * restrictions. Otherwise, the restrictions on the returned range will be empty. * </p> * <p>
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 18.9K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/OverConstrainedVersionException.java
import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.ArtifactResolutionException; /** * Occurs when ranges exclude each other and no valid value remains. * */ public class OverConstrainedVersionException extends ArtifactResolutionException { public OverConstrainedVersionException(String msg, Artifact artifact) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
// have a model that is suitable, yet more checks are done here and the one for the version is problematic // before because with parents as ranges it will never work in this scenario. // String groupId = getGroupId(candidateModel); String artifactId = candidateModel.getArtifactId(); if (groupId == null
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 59.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorException.java
* under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * Thrown in case of bad artifact descriptors, version ranges or other * issues encountered during calculation of the dependency graph. * * @since 4.0.0 */ @Experimental public class DependencyCollectorException extends MavenException { /** * */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 36.7K bytes - Viewed (0) -
maven-core/src/test/resources/projects/parent-version-range-local-child-without-version/child/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>parent-version-range-local</groupId> <artifactId>parent</artifactId> <version>[1,10]</version> </parent> <artifactId>child</artifactId> <!-- version>1</version Must not inherit version from parent due to version range. --> <packaging>pom</packaging>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Fri Feb 10 21:46:52 GMT 2017 - 348 bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java
public int getNature() { if (artifact.getVersion() != null) { return artifact.isSnapshot() ? SNAPSHOT : RELEASE; } VersionRange range = artifact.getVersionRange(); if (range != null) { for (Restriction restriction : range.getRestrictions()) { if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) { return RELEASE_OR_SNAPSHOT;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java
// Message below is checked for in the MNG-2199 core IT. throw new ModelResolverException( String.format( "The requested parent version range '%s' does not specify an upper bound", parent.getVersion()), parent.getGroupId(), parent.getArtifactId(),
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 11K bytes - Viewed (0) -
maven-core/src/test/resources/projects/parent-version-range-local-child-project-version-expression/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>parent-version-range-local</groupId> <artifactId>parent</artifactId> <version>1</version> <packaging>pom</packaging>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Feb 01 13:35:07 GMT 2022 - 192 bytes - Viewed (0)