Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getModelVersion (0.15 sec)

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

                }
    
                if (!model.isPreserveModelVersion()) {
                    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/merge/MavenMergerTest.java

            source.setModelVersion( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getModelVersion(), is( "SOURCE" ) );
    
            target.setModelVersion( "TARGET" );;
            modelMerger.merge( target, source, false, null );
            assertThat( target.getModelVersion(), is( "TARGET" ) );
        }
    
        @Test
        public void mergeSameModules()
        {
            Model target = new Model();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            public void setVersion(String version) {
                this.version = version;
            }
    
            public Scm getScm() {
                return scm;
            }
    
            public String getModelVersion() {
                return modelVersion;
            }
    
            public String getGroupId() {
                return groupId;
            }
    
            public List<Dependency> getDependencies() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<MavenProject> projectsIncludingParents = new HashSet<>();
            for (MavenProject project : session.getProjects()) {
                superPomModels.computeIfAbsent(
                        project.getModelVersion(),
                        v -> superPomProvider.getSuperModel(v).getDelegate());
                boolean isAdded = projectsIncludingParents.add(project);
                MavenProject parent = project.getParent();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top