Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for getConfiguration (0.14 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

                    + "  </build>\n"
                    + "</project>";
    
            Model model = fromXml(xml);
            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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. impl/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()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

            this.callback = callback;
        }
    
        @Override
        public void configure(Binder binder) {
            if (extension.getKey() != null) {
                XmlNode configuration = extension.getConfiguration();
                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                Function<String, String> cb = Interpolator.memoize(callback);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            assertEquals("activated", result.getEffectiveModel().getProperties().get("profile.file"));
            Xpp3Dom conf = (Xpp3Dom)
                    result.getEffectiveModel().getBuild().getPlugins().get(0).getConfiguration();
            assertNotNull(conf);
            assertEquals("1.5", conf.getChild("source").getValue());
            assertEquals("  1.5  ", conf.getChild("target").getValue());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

         * {@link javax.inject.Named} annotation.
         */
        public String getKey() {
            return key;
        }
    
        /**
         * Returns the configuration for this extension.
         */
        public XmlNode getConfiguration() {
            return configuration;
        }
    
        private static final ExtensionDescriptorBuilder BUILDER = new ExtensionDescriptorBuilder();
    
        public static CoreExtensionEntry discoverFrom(ClassRealm loader) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            Objects.requireNonNull(request, "request cannot be null");
            Objects.requireNonNull(request.getBean(), "request.bean cannot be null");
    
            Object configuration = request.getConfiguration();
            if (configuration == null) {
                return;
            }
    
            PlexusConfiguration plexusConfig;
            if (configuration instanceof PlexusConfiguration) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. impl/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)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                spec.getClasspath().from(calculateWorkerClasspath());
                spec.getForkOptions().setMaxHeapSize("1g");
            });
            queue.submit(JApiCmpWorkAction.class, params -> params.getConfiguration().set(calculateWorkerConfiguration(baseline, current)));
        }
    
        @Inject
        protected abstract WorkerExecutor getWorkerExecutor();
    
        private Set<File> calculateWorkerClasspath() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

                            .get("key"));
            org.codehaus.plexus.util.xml.Xpp3Dom toolchainConfiguration = (org.codehaus.plexus.util.xml.Xpp3Dom)
                    result.getEffectiveToolchains().getToolchains().get(0).getConfiguration();
            assertEquals(
                    interpolatedValue, toolchainConfiguration.getChild("jdkHome").getValue());
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    realm,
                    Collections.singleton(artifacts.get(0).getFile()),
                    extension.getGroupId() + ":" + extension.getArtifactId(),
                    extension.getConfiguration());
        }
    
        private List<Artifact> resolveExtension(
                CoreExtension extension,
                RepositorySystemSession repoSession,
                List<RemoteRepository> repositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top