Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for XmlNode (0.11 sec)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
        XmlNode getChild(String name);
    
        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.api.xml.XmlNode;
    
    /**
     * A {@code MojoExecution} represents a single execution of a Maven Plugin during a given build.
     * An instance of this object is bound to the {@link org.apache.maven.api.di.MojoExecutionScoped}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top