Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withBuild (0.14 sec)

  1. 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(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                if (build != null) {
                    PluginManagement pluginManagement = build.getPluginManagement();
                    if (pluginManagement != null) {
                        return model.withBuild(mergePluginContainerPlugins(build, pluginManagement));
                    }
                }
                return model;
            }
    
            private Build mergePluginContainerPlugins(Build target, PluginContainer source) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top