- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for consumerPom (0.06 seconds)
-
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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (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.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 31 11:36:12 GMT 2025 - 2.6K bytes - Click Count (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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.8K bytes - Click Count (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) {
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)