Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for getDom (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

        }
    
        @Override
        public NodePointer createNodePointer(QName name, Object object, Locale locale) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
                object = xpp3Dom.getDom();
            }
            if (object instanceof XmlNode xmlNode) {
                return new Xpp3DomNodePointer(xmlNode);
            }
            return null;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                    pomConfiguration = plugin.getDelegate().getConfiguration();
                }
    
                XmlNode mojoConfiguration = mojoExecution.getConfiguration() != null
                        ? mojoExecution.getConfiguration().getDom()
                        : null;
    
                XmlNode mergedConfiguration = XmlService.merge(mojoConfiguration, pomConfiguration);
    
                mojoExecution.setConfiguration(mergedConfiguration);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        public String getGoal() {
            return delegate.getGoal();
        }
    
        @Override
        public Optional<XmlNode> getConfiguration() {
            return Optional.of(delegate.getConfiguration()).map(Xpp3Dom::getDom);
        }
    
        @Override
        public String toString() {
            return delegate.toString();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            } else {
                this.pluginGroups = Collections.emptyList();
            }
    
            return this;
        }
    
        @Override
        public Model getPom() {
            return pom;
        }
    
        @Override
        public DefaultPluginPrefixRequest setPom(Model pom) {
            this.pom = pom;
    
            return this;
        }
    
        @Override
        public List<RemoteRepository> getRepositories() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            this.artifactId = artifactId;
    
            return this;
        }
    
        @Override
        public Model getPom() {
            return pom;
        }
    
        @Override
        public DefaultPluginVersionRequest setPom(Model pom) {
            this.pom = pom;
    
            return this;
        }
    
        @Override
        public List<RemoteRepository> getRepositories() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the version.
         *
         * @param pom The POM whose build plugins are to be scanned for the version, may be {@code null} to only search the
         *            plugin repositories.
         * @return This request, never {@code null}.
         */
        PluginVersionRequest setPom(Model pom);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the prefix.
         *
         * @param pom The POM whose build plugins are to be scanned for the prefix, may be {@code null} to only search the
         *            plugin repositories.
         * @return This request, never {@code null}.
         */
        PluginPrefixRequest setPom(Model pom);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

            }
        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
                if (rootProjectPom == null) {
                    LOGGER.info(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            writer = new DefaultModelWriter();
            assembler = new DefaultInheritanceAssembler();
        }
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/inheritance/" + name + ".xml");
        }
    
        private Model getModel(String name) throws IOException {
            return reader.read(getPom(name), null);
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    @Deprecated
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top