- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CONSTRAINT (0.06 sec)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java
private VersionParserException parseInvalid(String constraint) { try { versionParser.parseVersionConstraint(constraint); fail("expected exception for constraint " + constraint); return null; } catch (VersionParserException e) { return e; } } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
} @Override public VersionConstraint parseVersionConstraint(String constraint) { requireNonNull(constraint, "constraint"); return new DefaultVersionConstraint(versionScheme, constraint); } static class DefaultVersion implements Version { private final VersionScheme versionScheme;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
} @Override public VersionConstraint parseVersionConstraint(String constraint) { throw new IllegalArgumentException("constraint not supported by this parser"); } @Override public boolean isSnapshot(String version) { requireNonNull(version, "version");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)". * <p> * Shortcut for {@code getService(VersionParser.class).parseVersionConstraint(...)}. * * @param versionConstraint the version string to parse * @return the version constraint parsed from the given string
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0)