Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 68 for getParent (0.06 seconds)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactlyElementsIn(locations);
      }
    
      public void testLocationEquals() {
        ClassLoader child = getClass().getClassLoader();
        ClassLoader parent = child.getParent();
        new EqualsTester()
            .addEqualityGroup(
                new ClassPath.LocationInfo(new File("foo.jar"), child),
                new ClassPath.LocationInfo(new File("foo.jar"), child))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            Parent src = source.getParent();
            if (src != null) {
                Parent tgt = target.getParent();
                if (tgt == null) {
                    tgt = new Parent();
                    tgt.setRelativePath(null);
                    target.setParent(tgt);
                }
                mergeParent(tgt, src, sourceDominant, context);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

        }
    
        @SuppressWarnings("checkstyle:methodlength")
        @Override
        public void validateRawModel(Model m, ModelBuildingRequest request, ModelProblemCollector problems) {
            Parent parent = m.getParent();
            if (parent != null) {
                validateStringNotEmpty(
                        "parent.groupId", problems, Severity.FATAL, Version.BASE, parent.getGroupId(), parent);
    
                validateStringNotEmpty(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-3567*/
        @Test
        void testParentInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("parent-interpolation/sub");
            pom = new PomTestWrapper(pom.getMavenProject().getParent());
            assertEquals("1.3.0-SNAPSHOT", pom.getValue("build/plugins[1]/version"));
        }
    
        /* MNG-3567*/
        @Test
        void testPluginManagementInherited() throws Exception {
    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)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            System.err.println("Directory " + topDirectory
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public Xpp3Dom getChild(int); public Xpp3Dom getChild(String); public void addChild(Xpp3Dom); public Xpp3Dom[] getChildren(); public Xpp3Dom[] getChildren(String); public int getChildCount(); public void removeChild(int); public Xpp3Dom getParent(); public void setParent(Xpp3Dom); public void writeToSerializer(String, pull.XmlSerializer) throws java.io.IOException; private static void mergeIntoXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean); public static Xpp3Dom mergeXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean); public static...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

         *         project (e.g. describes the metadata of some artifact from the repository).
         */
        public Path getProjectDirectory() {
            return (pomFile != null) ? pomFile.getParent() : null;
        }
    
        /**
         * @return the model id as {@code groupId:artifactId:packaging:version}
         */
        public String getId()
        {
            StringBuilder id = new StringBuilder( 64 );
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            declaringProject.setParent(parentProject);
            declaringProject.getModel().setParent(createParent(parentProject));
            projects.add(declaringProject);
    
            MavenProject pluginLevelDepProject = createProject("groupId", "plugin-level-dep", "1.0");
            pluginLevelDepProject.setParent(parentProject);
            pluginLevelDepProject.getModel().setParent(createParent(parentProject));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            assertEquals(2, a.getChildren().size());
            assertTrue(a.getChildren().contains(b));
            assertTrue(a.getChildren().contains(d));
            assertEquals(2, d.getParents().size());
            assertTrue(d.getParents().contains(a));
            assertTrue(d.getParents().contains(c));
        }
    
        @Test
        public void testCycleDetection() throws Exception {
            Graph graph1 = new Graph();
            addEdge(graph1, "a", "b");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
                    added("Method", "SourceKt.getBazool()"),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top