- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 158 for consumer (0.04 seconds)
-
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.0Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.8K bytes - Click Count (0) -
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
* This allows modern features like mixins to be preserved in the consumer POM.</li> * </ul> * <p> * <b>Mixin Handling</b>: Mixins are only supported in model version 4.2.0 or later. If a POM contains mixins: * <ul> * <li>Setting {@code preserve.model.version=true} preserves them in the consumer POM with model version 4.2.0</li> * <li>Setting {@code maven.consumer.pom.flatten=true} removes them during transformation</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 27 07:40:26 GMT 2025 - 21.2K bytes - Click Count (0) -
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; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
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) -
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) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
DeployRequest result = transformer.remapDeployArtifacts(session, request); // Should have both consumer POM (no classifier) and build POM (with "build" classifier) Collection<Artifact> artifacts = result.getArtifacts(); assertEquals(3, artifacts.size()); // original jar + consumer pom + build pomCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 13.3K bytes - Click Count (0) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/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: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0)