Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getConfiguration (0.19 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                XmlNode pluginConfiguration = plugin.getConfiguration();
                if (pluginConfiguration != null) {
                    return plugin.withExecutions(map(
                            plugin.getExecutions(),
                            execution -> execution.withConfiguration(
                                    XmlNode.merge(execution.getConfiguration(), pluginConfiguration))));
                } else {
                    return plugin;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        @Override
        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();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
        @Nonnull
        Optional<XmlNode> getConfiguration();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            } catch (Exception e) {
                throw new PluginContainerException(mojoDescriptor, pluginRealm, "Unable to lookup Mojo", e);
            }
    
            XmlNode dom = mojoExecution.getConfiguration() != null
                    ? mojoExecution.getConfiguration().getDom()
                    : null;
    
            PlexusConfiguration pomConfiguration;
    
            if (dom == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         * configuration expansion (merging configuration defined globally for a given plugin
         * using {@link org.apache.maven.api.model.Plugin#getConfiguration()}
         * into the configuration for each {@link org.apache.maven.api.model.PluginExecution}.
         */
        boolean isProcessPlugins();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                        dom = (Xpp3Dom) plugin.getConfiguration();
    
                        if (reportSetId != null) {
                            ReportSet reportSet = plugin.getReportSetsAsMap().get(reportSetId);
                            if (reportSet != null) {
                                Xpp3Dom executionConfiguration = (Xpp3Dom) reportSet.getConfiguration();
                                if (executionConfiguration != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                            .priority(i - mojos.size())
                            .phase(phase)
                            .goals(List.of(goal))
                            .configuration(mojo.getConfiguration())
                            .location("", location)
                            .location("id", location)
                            .location("phase", location)
                            .location("goals", location)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                authBuilder.addPrivateKey(server.getPrivateKey(), server.getPassphrase());
                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()))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .findFirst()
                    .orElse(null);
            assertNotNull(pluginExecution, "Wrong id for \"" + artifactId + "\"");
    
            String config = pluginExecution.getConfiguration().toString();
            assertTrue(
                    config.contains(expectedConfig),
                    "Wrong config for \"" + artifactId + "\": (" + config + ") does not contain :" + expectedConfig);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. 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 {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top