Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for setConfiguration (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                        if (pluginExecutionId.equals(execution.getId())) {
                            setConfiguration(execution.getConfiguration());
                            break;
                        }
                    }
                } else {
                    setConfiguration(plugin.getConfiguration());
                }
            }
            return this;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(new File("test"), bean.file);
        }
    
        @Test
        void testPreAndPostProcessing() throws BeanConfigurationException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("test"), bean.file);
        }
    
        @Test
        void testPreAndPostProcessing() throws BeanConfigurationException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            for (Plugin plugin : plugins) {
                Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration();
    
                if (pluginConfiguration != null) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        Xpp3Dom executionConfiguration = (Xpp3Dom) execution.getConfiguration();
    
                        executionConfiguration =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                                    new MojoExecution(forkedMojoDescriptor, mojoExecution.getExecutionId());
    
                            XmlNode forkedConfiguration = execution.getConfiguration();
    
                            forkedExecution.setConfiguration(forkedConfiguration);
    
                            mojoExecutionConfigurator(forkedExecution).configure(project, forkedExecution, true);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

                    if (parentDom != null) {
                        for (ReportSet execution : reportPlugin.getReportSets()) {
                            Xpp3Dom childDom = (Xpp3Dom) execution.getConfiguration();
                            childDom = Xpp3Dom.mergeXpp3Dom(childDom, new Xpp3Dom(parentDom));
                            execution.setConfiguration(childDom);
                        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                    pomConfiguration = pluginExecution.getDelegate().getConfiguration();
                } else if (allowPluginLevelConfig) {
                    pomConfiguration = plugin.getDelegate().getConfiguration();
                }
    
                XmlNode mojoConfiguration = mojoExecution.getConfiguration() != null
                        ? mojoExecution.getConfiguration().getDom()
                        : null;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    execution.setLocation("goals", location);
    
                    XmlNode lifecycleConfiguration = mojo.getConfiguration();
                    if (lifecycleConfiguration != null) {
                        execution.setConfiguration(new Xpp3Dom(lifecycleConfiguration));
                    }
    
                    if (mojo.getDependencies() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

                    plugin.setVersion(extension.getVersion());
                    XmlNode configuration = extension.getDelegate().getConfiguration();
                    if (configuration != null) {
                        plugin.setConfiguration(new Xpp3Dom(configuration));
                    }
                    extensionPlugins.add(plugin);
                }
    
                for (Plugin plugin : build.getPlugins()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            plugin.setLocation("version", new InputLocation(12, 34, defaultBindings));
            MojoExecution result = new MojoExecution(plugin, goal, executionId);
            result.setConfiguration(XmlNode.newInstance(executionId + "-" + goal));
            result.setMojoDescriptor(mojoDescriptor);
            result.setLifecyclePhase(mojoDescriptor.getPhase());
    
            return result;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top