Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 75 for Child (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Element build = root.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element cleanPlugin = plugins.child("plugin").orElse(null);
                Element executions = cleanPlugin.child("executions").orElse(null);
                Element execution = executions.child("execution").orElse(null);
                Element phase = execution.child("phase").orElse(null);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Element build = moduleBRoot.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element plugin = plugins.child("plugin").orElse(null);
                Element dependencies = plugin.child("dependencies").orElse(null);
                Element dependency = dependencies.child("dependency").orElse(null);
    
                // Apply dependency inference
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                }
            }
    
            // Check profiles for dependencyManagement
            boolean profileChanges = root.child(PROFILES).stream()
                    .flatMap(profiles -> profiles.children(PROFILE))
                    .map(profile -> profile.child(DEPENDENCY_MANAGEMENT)
                            .flatMap(dm -> dm.child(DEPENDENCIES))
                            .map(deps -> removeManagedDependenciesFromSection(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    Stream.of(
                                    new DependencyContainer(root.child(DEPENDENCIES).orElse(null), DEPENDENCIES),
                                    new DependencyContainer(
                                            root.child(DEPENDENCY_MANAGEMENT)
                                                    .flatMap(dm -> dm.child(DEPENDENCIES))
                                                    .orElse(null),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <p>Many operations can be performed directly using DomTrip's Element API:
     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
     * // Get trimmed text content
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            Model child = getModel(baseName + "-child");
    
            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
                child.setPomFile(null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("CHILD-1", pom.getValue(prefix + "stringParams/stringParam[5]"));
            assertEquals("CHILD-3", pom.getValue(prefix + "stringParams/stringParam[6]"));
            assertEquals("CHILD-2", pom.getValue(prefix + "stringParams/stringParam[7]"));
            assertEquals("CHILD-4", pom.getValue(prefix + "stringParams/stringParam[8]"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

        }
    
        /**
         * Check that we can build ok from the middle pom of a (parent,child,grandchild) hierarchy
         */
        @Test
        void testBuildFromMiddlePom() throws Exception {
            File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml");
            File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml");
    
            getProject(f1);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            // Also check inside profiles
            Element profilesElement = root.child(PROFILES).orElse(null);
            if (profilesElement != null) {
                var profileElements = profilesElement.children(PROFILE).toList();
                for (Element profileElement : profileElements) {
                    Element profileModulesElement = profileElement.child(MODULES).orElse(null);
                    if (profileModulesElement != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            selectors.add(":maven-core");
    
            final MavenProject mavenProject = createMavenProject("maven-core");
            final MavenProject child = createMavenProject("maven-core-child");
            mavenProject.setCollectedProjects(Collections.singletonList(child));
            final List<MavenProject> listOfProjects = Collections.singletonList(mavenProject);
    
            final Set<MavenProject> requiredProjectsBySelectors =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top