- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 157 for setVersion (0.13 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
if (bound == null) { return null; } return new Boundary() { @Override public Version getVersion() { return new DefaultVersion(versionScheme, bound.getVersion()); } @Override public boolean isInclusive() { return bound.isInclusive(); }
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/Artifact.java
*/ @Nonnull Version getVersion(); /** * {@return the version or meta-version of the artifact} * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword. * Meta-versions are represented in a base version by their symbols (e.g., {@code SNAPSHOT}), * while they are replaced by, for example, the actual timestamp in the {@linkplain #getVersion() version}. */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
} if (active && os.getArch() != null) { active = determineArchMatch(os.getArch(), actualOsArch); } if (active && os.getVersion() != null) { active = determineVersionMatch(os.getVersion(), actualOsVersion); } return active; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
} if (result && os.getVersion() != null) { result = determineVersionMatch(os.getVersion()); } return result; } private boolean ensureAtLeastOneNonNull(ActivationOS os) { return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null; } private boolean determineVersionMatch(String version) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception { VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
.version("1.0") .build(); assertNotNull(this.newModelResolver().resolveModel(parent, new AtomicReference<>())); assertEquals("1.0", parent.getVersion()); } @Test void testResolveParentSuccessfullyResolvesExistingParentUsingHighestVersion() throws Exception { final Parent parent = Parent.newBuilder() .groupId("ut.simple")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 01 02:20:48 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
clone.setRelease(artifact.isRelease()); clone.setResolvedVersion(artifact.getVersion()); clone.setResolved(artifact.isResolved()); clone.setFile(artifact.getFile()); clone.setAvailableVersions(copyList(artifact.getAvailableVersions())); if (artifact.getVersion() != null) { clone.setBaseVersion(artifact.getBaseVersion()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
// TODO Should this be changed for MNG-6754 too? versioning.updateTimestamp(); versioning.addVersion(artifact.getVersion()); if (artifact.isRelease()) { versioning.setRelease(artifact.getVersion()); } return new ArtifactRepositoryMetadata(artifact, versioning); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0)