Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 191 for consumer (0.04 seconds)

  1. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Consumer.java

     * <p>
     * A type can be marked {@link Consumer} or {@link Provider} but not both. A type is assumed to be
     * {@link Consumer} if it is not marked either {@link Consumer} or {@link Provider}.
     * <p>
     * A package can be marked {@link Consumer}. In this case, all types in the package are considered
     * to be a provider type regardless of whether they are marked {@link Consumer} or {@link Provider}.
     *
     * @see Provider
     * @since 4.0.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    // Replace the consumer POM as the main POM (no classifier)
                    result.add(new DefaultArtifact(
                            consumer.getGroupId(),
                            consumer.getArtifactId(),
                            "",
                            consumer.getExtension(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

    import java.io.PrintStream;
    import java.util.function.Consumer;
    
    public class LoggingOutputStream extends FilterOutputStream {
    
        static final byte[] LINE_SEP = System.lineSeparator().getBytes();
    
        final EolBaos buf;
        final Consumer<String> consumer;
    
        public LoggingOutputStream(Consumer<String> consumer) {
            this(new EolBaos(), consumer);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 12:31:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * consumer project.
         * <p>
         * Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT
         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * <li>{@link FunctionalInterface}: Denotes that this is a functional interface,
     * allowing implementations as lambda expressions or method references.</li>
     * <li>{@link Consumer}: Signifies that this type is intended to be implemented
     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:21:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            private final TransferEvent event;
    
            private Exchange(TransferEvent event) {
                this.event = event;
            }
    
            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

            if (logger.isDebugEnabled()) {
                writePlan(logger::debug, plan, project);
            }
        }
    
        public void writePlan(Consumer<String> writer, BuildPlan plan) {
            plan.projects().forEach(project -> writePlan(writer, plan, project));
        }
    
        public void writePlan(Consumer<String> writer, BuildPlan plan, MavenProject project) {
            writer.accept("=== PROJECT BUILD PLAN ================================================");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/logging/SimpleBuildEventListener.java

     */
    package org.apache.maven.logging;
    
    import java.util.function.Consumer;
    
    import org.apache.maven.execution.ExecutionEvent;
    import org.eclipse.aether.transfer.TransferEvent;
    
    public class SimpleBuildEventListener implements BuildEventListener {
    
        final Consumer<String> output;
    
        public SimpleBuildEventListener(Consumer<String> output) {
            this.output = output;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public class VersionRangeResolverException extends MavenException {
    
        public VersionRangeResolverException(String message, Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public class VersionResolverException extends MavenException {
    
        public VersionResolverException(String message, Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top