Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for getDelegate (0.06 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

                            createMetadataFromArtifact(artifact).getDelegate(), true)
                    .modelEncoding("UTF-16")
                    .build());
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            new MetadataStaxWriter().write(baos, source.getDelegate());
            Metadata source2 =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

                }
            }
    
            if (index >= 0) {
                // Replace the SourceRoot at the same position
                SourceRoot newSourceRoot = new DefaultSourceRoot(project.getBaseDirectory(), scope, this.getDelegate());
                sourcesList.set(index, newSourceRoot);
    
                // Update the project's sources, preserving order
                project.sources.clear();
                project.sources.addAll(sourcesList);
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        private Map<String, LifecyclePhase> defaultPhases;
    
        private org.apache.maven.api.Lifecycle lifecycle;
    
        public String getId() {
            return id;
        }
    
        public org.apache.maven.api.Lifecycle getDelegate() {
            return lifecycle;
        }
    
        public List<String> getPhases() {
            return phases;
        }
    
        static Map<String, LifecyclePhase> getDefaultPhases(org.apache.maven.api.Lifecycle lifecycle) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata.getDelegate());
                }
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not write metadata " + metadataPath + ": " + e.getMessage(), e);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            for (MavenProject mavenProject : projects) {
                if (!"maven-plugin".equals(mavenProject.getPackaging())) {
                    Prerequisites prerequisites =
                            mavenProject.getModel().getDelegate().getPrerequisites();
                    if (prerequisites != null && prerequisites.getMaven() != null) {
                        logger.warn(
                                "The project {} uses prerequisites"
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  6. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            build.addPlugin(originalPlugin);
    
            MavenProject project = new MavenProject(model);
    
            // The old broken implementation would have done:
            // var plugin = getBuild().getDelegate().getPluginsAsMap().get(pluginKey);
            // return plugin != null ? new Plugin(plugin) : null;
            // This would create a disconnected Plugin that doesn't persist changes.
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

         */
        public java.nio.file.Path getPomPath() {
            return (getDelegate().getPomFile() != null) ? getDelegate().getPomFile() : null;
        }
    
        public void setPomPath(java.nio.file.Path pomPath) {
            update( getDelegate().withPomFile(pomPath));
        }
    
        public void setModelEncoding(String modelEncoding) {
            update(getDelegate().with().modelEncoding(modelEncoding).build());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

            updater.start();
        }
    
        @Override
        public void close() {
            if (closed.compareAndSet(false, true)) {
                updater.interrupt();
            }
        }
    
        public TransferListener getDelegate() {
            return delegate;
        }
    
        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Feb 06 11:28:05 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            this.eventQueue = new ArrayBlockingQueue<>(queueSize);
            Thread updater = new Thread(this::feedConsumer);
            updater.setDaemon(true);
            updater.start();
        }
    
        public TransferListener getDelegate() {
            return delegate;
        }
    
        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                            .build();
                    execs.add(execution);
    
                    if (mojo.getDependencies() != null) {
                        mojo.getDependencies().forEach(d -> deps.add(d.getDelegate()));
                    }
    
                    Plugin plugin = Plugin.newBuilder()
                            .groupId(groupId)
                            .artifactId(artifactId)
                            .version(version)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top