Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setModules (0.05 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

        {
            Model target = new Model();
            target.setModules( Arrays.asList( "first", "second", "third" ) );
            Model source = new Model();
            source.setModules( Arrays.asList( "first", "second", "third" ) );
    
            modelMerger.merge( target, source, true, null );
    
            assertThat( target.getModules(), contains( "first", "second", "third" ) );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                            || profile.getDependencyManagement().getDependencies().isEmpty())
                    && profile.getDistributionManagement() == null
                    && profile.getModules().isEmpty()
                    && profile.getSubprojects().isEmpty()
                    && profile.getProperties().isEmpty()
                    && profile.getRepositories().isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                 */
                if (child.getProjectDirectory() != null) {
                    childName = child.getProjectDirectory().getFileName().toString();
                }
    
                for (String module : parent.getModules()) {
                    module = module.replace('\\', '/');
    
                    if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) {
                        module = module.substring(0, module.lastIndexOf('/') + 1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            if (request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0) {
                Set<String> modules = new HashSet<>();
                for (int i = 0, n = m.getModules().size(); i < n; i++) {
                    String module = m.getModules().get(i);
                    if (!modules.add(module)) {
                        addViolation(
                                problems,
                                Severity.ERROR,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                            Model rawModel = defaultModelBuilder.readFileModel(gaBuildingRequest, problems);
                            for (String module : rawModel.getModules()) {
                                Path moduleFile = defaultModelBuilder
                                        .getModelProcessor()
                                        .locateExistingPom(pom.getParent().resolve(module));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                MavenProject project = projectBuilder.build(pom, configuration).getProject();
    
                projects.add(project);
                if (includeModules) {
                    for (String module : project.getModules()) {
                        File modulePom = new File(pom.getParentFile(), module);
                        if (modulePom.isDirectory()) {
                            modulePom = new File(modulePom, "pom.xml");
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top