- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 345 for getVersion (0.06 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
} /** * Gets the version of the unresolvable model. * * @return The version of the unresolvable model, can be empty but never {@code null}. */ public String getVersion() { return version; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
String ext = dot >= 1 ? name.substring(dot + 1) : ""; ProducedArtifact artifact = session.createProducedArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion(), ext); attachArtifact(project, artifact, path); } /** * Attaches an artifact to the project with an explicitly specified type. * * @param session the current build session
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
+ (artifact.getClassifier() == null || artifact.getClassifier().isEmpty() ? "" : ":" + artifact.getClassifier()) + ":" + artifact.getVersion(); } private String id(Artifact artifact) { return artifact.key(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
return 1L + maxDownstreamWeight; } private String getProjectId(MavenProject project) { return project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
dependency.getGroupId(), dependency.getArtifactId(), dependency.getClassifier(), null, dependency.getVersion(), props, stereotype); List<Exclusion> exclusions = new ArrayList<>(dependency.getExclusions().size());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
} } return msg; } @Override public Severity getSeverity() { return severity; } @Override public Version getVersion() { return version; } @Override public String toString() { StringBuilder buffer = new StringBuilder(128); buffer.append('[').append(getSeverity()).append("] ");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
path.append(artifact.getArtifactId()).append('/'); path.append(artifact.getBaseVersion()).append('/'); path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion()); if (!artifact.getClassifier().isEmpty()) { path.append('-').append(artifact.getClassifier()); } path.append('.').append(artifact.getExtension());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed."); assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked."); assertEquals("1000", project.getVersion(), "version proto-inheritance failed."); // draw the NPE. project.getId(); } @Test void testEmptyConstructor() { MavenProject project = new MavenProject();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 9.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java
addDom(dom, "groupId", plugin.getGroupId(), plugin.getLocation("groupId")); addDom(dom, "artifactId", plugin.getArtifactId(), plugin.getLocation("artifactId")); addDom(dom, "version", plugin.getVersion(), plugin.getLocation("version")); Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration(); if (configuration != null) { configuration = new Xpp3Dom(configuration);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
// Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456) if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); artifact.updateVersion(version, request.getLocalRepository());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0)