Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Child1 (0.2 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            // load the child project, which inherits from p0...
            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
            System.out.println(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            return child != null;
        }
    
        private void filterChildren(int position) {
            for (; position > filteredChildren.size() && filteredIndex < children.size(); filteredIndex++) {
                XmlNode child = children.get(filteredIndex);
                if (testNode(child)) {
                    filteredChildren.add(child);
                }
            }
        }
    
        private boolean testNode(XmlNode node) {
            if (test == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    (parent.tryBlock == child || child in parent.catchClauses) && isUsed(parent)
    
                // If expressions always use their condition, and the branches are used if the
                // If itself is used as an expression.
                is KtIfExpression ->
                    parent.condition == child ||
                            ((parent.then == child ||
                                    parent.`else` == child) && isUsed(parent))
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            String childPath = child.getProperties().getOrDefault(CHILD_DIRECTORY_PROPERTY, child.getArtifactId());
            hints.put(CHILD_DIRECTORY, childPath);
            hints.put(MavenModelMerger.CHILD_PATH_ADJUSTMENT, getChildPathAdjustment(child, parent, childPath));
            return merger.merge(child, parent, false, hints);
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. 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
         *
         * @throws Exception in case of issue
         */
        @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);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/consumer/trivial/child/pom.xml

    <project xmlns="http://maven.apache.org/POM/4.1.0">
      <parent>
        <groupId>org.my.group</groupId>
        <artifactId>parent</artifactId>
      </parent>
      <artifactId>child</artifactId>
      <packaging>jar</packaging>
    
      <properties>
        <prop-child>bar</prop-child>
      </properties>
      <dependencies>
        <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-api</artifactId>
        </dependency>
      </dependencies>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 430 bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/InheritanceAssembler.java

        /**
         * Merges values from the specified parent model into the given child model. Implementations are expected to keep
         * parent and child completely decoupled by injecting deep copies of objects into the child rather than the original
         * objects from the parent.
         *
         * @param child The child model into which to merge the values inherited from the parent, must not be
         *            <code>null</code>.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                children = new ArrayList<>();
    
                for (ProjectBuildingResult result : results) {
                    ExceptionSummary child = handle(result);
                    if (child != null) {
                        children.add(child);
                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

            XmlNode node2 = (XmlNode) pointer2.getBaseValue();
            if (node1 == node2) {
                return 0;
            }
            for (XmlNode child : node.getChildren()) {
                if (child == node1) {
                    return -1;
                }
                if (child == node2) {
                    return 1;
                }
            }
            return 0;
        }
    
        @Override
        public Object getValue() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

        /**
         * How the test project is set up:
         *
         * 1. dependencyManagement lists dependencies on a &amp; b,
         *    with an exclusion on c in b.
         * 2. the child project lists a dependency on project a only
         * 3. a depends on b (which is transitive to the child project),
         *    and b depends on c.
         *
         * We should see that the resulting size of collected artifacts is two:
         * a &amp; b only.
         */
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top