Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Child (0.01 sec)

  1. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. 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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. 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),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            RequestData child = new RequestData();
            child.setMethod(Method.GET);
            child.setUrl("https://example.com/page1");
    
            data.addChildUrl(child);
            data.addChildUrl(child);
    
            assertEquals(1, data.getChildUrlSet().size());
        }
    
        public void test_getRequestData() {
            // Test getRequestData method
            ResponseData data = new ResponseData();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Returns an immutable list of all child nodes.
         *
         * @return list of child nodes, never {@code null}
         */
        @Nonnull
        List<XmlNode> children();
    
        /**
         * Returns the first child node with the specified name.
         *
         * @param name the name of the child node to find
         * @return the first matching child node, or {@code null} if none found
         */
        @Nullable
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

                    final StringBuilder headingText = new StringBuilder();
                    Node child = heading.getFirstChild();
                    while (child != null) {
                        if (child instanceof Text) {
                            headingText.append(((Text) child).getLiteral());
                        }
                        child = child.getNext();
                    }
                    if (headingText.length() > 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top