- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 442 for consumer (0.06 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) -
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/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) -
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) -
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) -
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) -
guava/src/com/google/common/collect/Streams.java
Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) { checkNotNull(consumer); if (streamA.isParallel() || streamB.isParallel()) { zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b)); } else { Iterator<A> iterA = streamA.iterator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K 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-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java
private static class StreamGobbler implements Runnable { private final InputStream inputStream; private final Consumer<String> consumer; private StreamGobbler(InputStream inputStream, Consumer<String> consumer) { this.inputStream = inputStream; this.consumer = consumer; } @Override public void run() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 12.3K bytes - Click Count (0) -
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)