- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withBuild (0.05 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java
Model m = model.withPreserveModelVersion(true); assertEquals("4.1.0", new MavenModelVersion().getModelVersion(m)); } @Test void testV4ModelPriority() { Model m = model.withBuild(Build.newInstance() .withPlugins(Collections.singleton(Plugin.newInstance() .withExecutions(Collections.singleton(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
* the `preserveModelVersion` XML attribute or `preserve.model.version` property to true. */ if (SourceQueries.hasEnabledSources(projectSources)) { model = model.withBuild(null); } model = model.withPreserveModelVersion(false); String modelVersion = new MavenModelVersion().getModelVersion(model); model = model.withModelVersion(modelVersion);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0)