- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for parseVersion (0.24 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
artifact.getArtifactId().isEmpty() ? project.getArtifactId() : artifact.getArtifactId(), artifact.getBaseVersion().asString().isEmpty() ? session.parseVersion(project.getVersion()).asString() : artifact.getBaseVersion().asString(), artifact.getClassifier(), artifact.getExtension(), null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
buffer.append("]"); return buffer.toString(); } } public ComparableVersion(String version) { parseVersion(version); } @SuppressWarnings("checkstyle:innerassignment") public final void parseVersion(String version) { this.value = version; items = new ListItem(); version = version.toLowerCase(Locale.ENGLISH);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 26K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @param version the version string to parse * @return the version parsed from the given string * @throws org.apache.maven.api.services.VersionParserException if the parsing failed * @see org.apache.maven.api.services.VersionParser#parseVersion(String) */ @Nonnull Version parseVersion(@Nonnull String version); /**
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-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} } finally { Locale.setDefault(orig); } } @Test void testReuse() { ComparableVersion c1 = new ComparableVersion("1"); c1.parseVersion("2"); Comparable<?> c2 = newComparable("2"); assertEquals(c1, c2, "reused instance should be equivalent to new instance"); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
private final ModelVersionParser modelVersionParser = new DefaultModelVersionParser(new GenericVersionScheme()); protected Version newVersion(String version) { return modelVersionParser.parseVersion(version); } @Test void testEmptyVersion() { assertOrder(X_EQ_Y, "0", ""); } @Test void testNumericOrdering() { assertOrder(X_LT_Y, "2", "10");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
// in real-life this parser should not be used, but replaced with a proper one return new ModelVersionParser() { @Override public Version parseVersion(String version) { requireNonNull(version, "version"); return new Version() { @Override public String asString() {
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
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) -
pom.xml
<osgi-version-qualifier>${maven.build.timestamp}</osgi-version-qualifier> <osgi.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi-version-qualifier}</osgi.version> <osgi.pkg.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.pkg.version> </properties> <build> <plugins> <plugin>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Sep 26 04:40:32 UTC 2024 - 9.3K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
String version; private int length; private int pos; private char c; void VersionRange$VersionRangeParser(VersionRange, String); final void parse(); private char readNext(); private void unread(); private void skipWhiteSpace(); private Version parseVersion(); private Integer parseNumber(); private boolean parseNumberSeparator(); private String parseQualifier(); } org/apache/ivy/osgi/util/VersionRange.class package org.apache.ivy.osgi.util; public final synchronized class VersionRange { private boolean...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)