Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withModelVersion (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    model = model.withPreserveModelVersion(false);
                    String modelVersion = new MavenModelVersion().getModelVersion(model);
                    model = model.withModelVersion(modelVersion);
                }
            } else if (BOM_PACKAGING.equals(packaging)) {
                DependencyManagement dependencyManagement =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
            Model m = model.withModelVersion("4.1.0");
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
        }
    
        @Test
        void testV4ModelRoot() {
            Model m = model.withRoot(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top