Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for getChild (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                        + configuration.getClass().getName() + ")");
            }
    
            if (request.getConfigurationElement() != null) {
                plexusConfig = plexusConfig.getChild(request.getConfigurationElement());
            }
    
            ClassLoader classLoader = request.getClassLoader();
            if (classLoader == null) {
                classLoader = request.getBean().getClass().getClassLoader();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

                    result.getEffectiveToolchains().getToolchains().get(0).getConfiguration();
            assertEquals(
                    interpolatedValue, toolchainConfiguration.getChild("jdkHome").getValue());
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    merger.mergeModelBase(builder, model, profile);
    
                    if (profile.getBuild() != null) {
                        Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance();
                        Build.Builder bbuilder = Build.newBuilder(build);
                        merger.mergeBuildBase(bbuilder, build, profile.getBuild());
                        builder.build(bbuilder.build());
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            build.setOutputDirectory("myOutputDirectory");
            model.setBuild(build);
            Build build2 = model.getBuild();
            assertNotNull(build2);
            assertEquals("myOutputDirectory", build2.getOutputDirectory());
            model.setBuild(null);
            assertNull(model.getBuild());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertNotEquals(null, new Model());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

                model = new MavenXpp3Reader().read(is);
            }
    
            // Serialize an inner child here so that the BaseObject.childrenTracking is non null
            Build build = model.getBuild();
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {
                oos.writeObject(build);
            }
    
            Build build2;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Properties properties =
                    loadResumptionFile(Paths.get(rootProject.getBuild().getDirectory()));
            applyResumptionProperties(request, properties);
        }
    
        @Override
        public void removeResumptionData(MavenProject rootProject) {
            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
                Files.deleteIfExists(resumeProperties);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

        }
    
        @Override
        public Model mergeDuplicates(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            Model.Builder builder = Model.newBuilder(model);
    
            Build build = model.getBuild();
            if (build != null) {
                List<Plugin> plugins = build.getPlugins();
                Map<Object, Plugin> normalized = new LinkedHashMap<>(plugins.size() * 2);
    
                for (Plugin plugin : plugins) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

                    + "      </plugin>\n"
                    + "    </plugins>\n"
                    + "  </build>\n"
                    + "</project>";
    
            Model model = fromXml(xml);
            Plugin plugin = model.getBuild().getPlugins().get(0);
            XmlNode node = plugin.getConfiguration();
            assertNotNull(node);
            assertEquals("http://maven.apache.org/POM/4.0.0", node.getNamespaceUri());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        public void alignToBaseDirectory(Model model, File basedir) {
            if (basedir == null) {
                return;
            }
    
            Build build = model.getBuild();
    
            if (build != null) {
                build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir));
    
                build.setSourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            Project prj = nonNull(project, "project");
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                return prj.getBuild().getResources();
            } else if (scope == ProjectScope.TEST) {
                return prj.getBuild().getTestResources();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top