Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for XmlNode (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            for (Plugin plugin : plugins) {
                XmlNode pluginConfiguration = plugin.getDelegate().getConfiguration();
    
                if (pluginConfiguration != null) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        XmlNode executionConfiguration = execution.getDelegate().getConfiguration();
                        executionConfiguration = XmlNode.merge(executionConfiguration, pluginConfiguration);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        }
    
        static class ExtensionInterpolator extends MavenTransformer {
            ExtensionInterpolator(Function<String, String> transformer) {
                super(transformer);
            }
    
            public XmlNode transform(XmlNode node) {
                return super.transform(node);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        private final Set<String> packages;
    
        private final String key;
    
        private final XmlNode configuration;
    
        public CoreExtensionEntry(
                ClassRealm realm,
                Collection<String> artifacts,
                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

                    XmlNode parentDom = reportPlugin.getDelegate().getConfiguration();
    
                    if (parentDom != null) {
                        for (ReportSet execution : reportPlugin.getReportSets()) {
                            XmlNode childDom = execution.getDelegate().getConfiguration();
                            childDom = XmlNode.merge(childDom, parentDom);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                    }
                }
            }
            return null;
        }
    
        private static String mayGetChild(XmlNode node, String child) {
            XmlNode c = node.getChild(child);
            if (c != null) {
                return c.getValue();
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            Plugin plugin = model.getBuild().getPlugins().get(0);
            XmlNode node = plugin.getConfiguration();
            assertNotNull(node);
            assertEquals("http://maven.apache.org/POM/4.0.0", node.getNamespaceUri());
            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    throw new ComponentConfigurationException("Unable to convert configuration to xml node", e);
                }
            }
    
            XmlNode toXml(PlexusConfiguration config, ExpressionEvaluator evaluator) throws ExpressionEvaluationException {
                List<XmlNode> children = new ArrayList<>();
                for (PlexusConfiguration c : config.getChildren()) {
                    children.add(toXml(c, evaluator));
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    import org.apache.maven.api.xml.XmlNode;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.eclipse.aether.graph.DependencyNode;
    
    public class DefaultMojoExecution implements MojoExecution {
        private final InternalMavenSession session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                authSelector.add(server.getId(), authBuilder.build());
    
                if (server.getConfiguration() != null) {
                    XmlNode dom = server.getDelegate().getConfiguration();
                    List<XmlNode> children = dom.getChildren().stream()
                            .filter(c -> !"wagonProvider".equals(c.getName()))
                            .collect(Collectors.toList());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.internal.xml.XmlNodeStaxBuilder;
    import org.apache.maven.internal.xml.XmlPlexusConfiguration;
    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top