- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for parseVersionRange (0.16 sec)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
try { return versionParser.parseVersionRange(range); } catch (VersionParserException e) { throw new AssertionError(range + " should be valid but failed to parse due to: " + e.getMessage(), e); } } private void parseInvalid(String range) { try { versionParser.parseVersionRange(range); fail(range + " should be invalid");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } } private VersionRange parseVersionRange(String spec) { try { return versionScheme.parseVersionRange(spec); } catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
@Override public Version parseVersion(String version) { requireNonNull(version, "version"); return new DefaultVersion(versionScheme, version); } @Override public VersionRange parseVersionRange(String range) { requireNonNull(range, "range"); return new DefaultVersionRange(versionScheme, range); } @Override public boolean isSnapshot(String version) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code getService(VersionParser.class).parseVersionRange(...)}. * * @param versionRange the version string to parse * @return the version range parsed from the given string * @throws org.apache.maven.api.services.VersionParserException if the parsing failed * @see org.apache.maven.api.services.VersionParser#parseVersionRange(String) */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
return version.compareTo(o.asString()); } }; } @Override public VersionRange parseVersionRange(String range) { throw new IllegalArgumentException("ranges not supported by this parser"); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
if (version != null && parent.getVersion() != null && !version.equals(parent.getVersion())) { try { VersionRange parentRange = versionParser.parseVersionRange(parent.getVersion()); if (!parentRange.contains(versionParser.parseVersion(version))) { // version skew drop back to resolution from the repository return null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)