- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for consumerPom (0.06 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
Constants.MAVEN_DEPLOY_BUILD_POM, "false", Constants.MAVEN_CONSUMER_POM, "false"); assertFalse(Features.deployBuildPom(properties)); assertFalse(Features.consumerPom(properties)); } @Test void testConsistencyWithOtherFeatureMethodsTrue() { // Test that deployBuildPom behaves consistently with other feature methods when true
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
return doGet(userProperties, Constants.MAVEN_MAVEN3_PERSONALITY, false); } /** * Check if the consumer POM feature is active. */ public static boolean consumerPom(@Nullable Map<String, ?> userProperties) { return doGet(userProperties, Constants.MAVEN_CONSUMER_POM, !mavenMaven3Personality(userProperties)); } /** * Check if consumer POM flattening is enabled.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 31 11:36:12 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java
} @Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (!Features.consumerPom(session.getConfigProperties())) { try { Model model = read(project.getFile().toPath()); String version = model.getVersion();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
if (project.getFile() == null) { // If there is no build POM there is no reason to inject artifacts for the consumer POM. return; } if (Features.consumerPom(session.getConfigProperties())) { Path buildDir = project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null; if (buildDir != null) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0)