- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for setExtension (0.05 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier()))); assertTrue( artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "build".equals(a.getClassifier()))); } @Test void testDeployBuildPomDisabled() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
List<Artifact> mains = new ArrayList<>(); for (Artifact artifact : artifacts) { if ("pom".equals(artifact.getExtension()) || artifact.getExtension().startsWith("pom.")) { if (CONSUMER_POM_CLASSIFIER.equals(artifact.getClassifier())) { consumers.add(artifact); } else if ("".equals(artifact.getClassifier())) { mains.add(artifact); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
isAny(relocation.target.getClassifier()) ? null : relocation.target.getClassifier(), isAny(relocation.target.getExtension()) ? null : relocation.target.getExtension(), isAny(relocation.target.getVersion()) ? null : relocation.target.getVersion(), relocation.global ? "User global relocation" : "User project relocation");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtensions.java
/** * Set a set of build extensions to use from this project. * * @param extensions a extensions object. */ public void setExtensions(List<CoreExtension> extensions) { this.extensions = extensions; } // -- void setExtensions( List ) /** * Set the modelEncoding field. * * @param modelEncoding a modelEncoding object. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
|| ("jar".equals(artifact.getExtension()) && "tests".equals(artifact.getClassifier())); } private File findInProjectLocalRepository(Artifact artifact) { // Prefer the consumer POM when resolving POMs from the project-local repository, // to avoid treating a build POM as a repository (consumer) POM. if ("pom".equals(artifact.getExtension())) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java
oldExtension.setClassLoadingStrategy(extension.getClassLoadingStrategy()); } this.extension = oldExtension; } public CoreExtension getExtension() { return extension; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
public class ArtifactDescriptorUtils { public static Artifact toPomArtifact(Artifact artifact) { Artifact pomArtifact = artifact; if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) { pomArtifact = new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } return pomArtifact; } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
? session.parseVersion(project.getVersion()).toString() : artifact.getBaseVersion().toString(), artifact.getClassifier(), artifact.getExtension(), null); } // Verify groupId and version, intentionally allow artifactId to differ as Maven project may be
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
extensions = new java.util.ArrayList<CoreExtension>(); } extensions.add(parseCoreExtension(parser, strict)); coreExtensions.setExtensions(extensions); } else { checkUnknownElement(parser, strict); } } return coreExtensions;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 25.3K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
]]> </code> </codeSegment> <codeSegment> <version>4.0.0/4.0.99</version> <code> <![CDATA[ public void setExtensions(boolean extensions) { setExtensions(String.valueOf(extensions)); } /** * Reset the {@code executionMap} field to {@code null} */ @Deprecated public void flushExecutionMap() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 03:07:35 UTC 2025 - 133.3K bytes - Viewed (0)