- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 399 for getVersion (0.21 sec)
-
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();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K bytes - Viewed (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(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 4.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
column = e.getColumnNumber(); } ModelProblem problem = new DefaultModelProblem( req.getMessage(), req.getSeverity(), req.getVersion(), source, line, column, modelId, req.getException()); add(problem); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
*/ Severity getSeverity(); /** * Gets the applicable maven version/validation level of this problem * @return The version, never {@code null}. */ Version getVersion();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
Plugin existing = plugins.get(key); if (existing != null) { if (version == null) { version = existing.getVersion(); } execs.addAll(existing.getExecutions()); deps.addAll(existing.getDependencies()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 7.8K bytes - Viewed (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());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java
Plugin plugin = new Plugin(); plugin.setGroupId(extension.getGroupId()); plugin.setArtifactId(extension.getArtifactId()); plugin.setVersion(extension.getVersion()); XmlNode configuration = extension.getDelegate().getConfiguration(); if (configuration != null) { plugin.setConfiguration(new Xpp3Dom(configuration));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
List<Artifact> ids = new LinkedList<>(); ResolutionNode node = this; while (node != null) { Artifact artifact = node.getArtifact(); if (artifact.getVersion() == null) { // set the recommended version ArtifactVersion selected = artifact.getSelectedVersion(); // MNG-2123: null is a valid response to getSelectedVersion, don't
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (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());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java
if (effectiveScope == null) { return null; } VersionRange versionRange = VersionRange.createFromVersionSpec(dependency.getVersion()); Artifact dependencyArtifact = factory.createDependencyArtifact( dependency.getGroupId(), dependency.getArtifactId(), versionRange,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 6.2K bytes - Viewed (0)