- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 226 for setVersion (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
*/ org.apache.maven.artifact.Artifact result = new org.apache.maven.artifact.DefaultArtifact( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), null, artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()), nullify(artifact.getClassifier()), handler);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java
if (since instanceof SinceTagStatus.Present present) { if (present.getVersion().equals(getCurrentVersion())){ return null; } else { return acceptOrReject(member, Violation.error(member, String.format(SINCE_MISMATCH_ERROR_MESSAGE, getCurrentVersion(), present.getVersion()))); } } else if (since instanceof SinceTagStatus.Inconsistent inconsistent) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
} @Override public String getLocalFilename(ArtifactRepository repository) { return getFilename(); } private String getFilename() { return getArtifactId() + "-" + artifact.getVersion() + ".pom"; } @Override public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) { pomArtifact = new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } return pomArtifact; } /** * Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension toCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionResult.java
* * @since 3.0 */ public interface PluginVersionResult { /** * The resolved plugin version. * * @return The resolved plugin version, never {@code null}. */ String getVersion(); /** * The repository from which the plugin version was resolved. * * @return The repository from which the plugin version was resolved, never {@code null}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
main.getArtifactId(), BUILD_POM_CLASSIFIER, main.getExtension(), main.getVersion(), main.getProperties(), main.getPath())); } // If deployBuildPom is false, we simply don't add the build POM to the result
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 8.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
/** * * * @since 4.0.0 */ @Experimental @Immutable public interface ArtifactFactoryRequest extends Request<Session> { String getGroupId(); String getArtifactId(); String getVersion(); String getClassifier(); String getExtension(); String getType(); static ArtifactFactoryRequest build(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 7.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries"); ArtifactMetadata md = res.getClasspath().get(3); assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1"); } // ------------------------------------------------------------------------------------------ @Test void testTestClasspathTransform() throws Exception {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
if (versionRange != null) { Version v = parseVersion(a.getVersion()); return !versionRange.containsVersion(v); } else { return !artifact.getVersion().equals(a.getVersion()); } } return true;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 05:56:35 GMT 2025 - 25.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/mdo/core-extensions.mdo
return (getGroupId() == null ? "[unknown-group-id]" : getGroupId()) + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId()) + ":" + (getVersion() == null ? "[unknown-version]" : getVersion()); } ]]> </code> </codeSegment> </codeSegments> </class> </classes>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 4.4K bytes - Click Count (0)