- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for PropertyContributor (0.07 seconds)
-
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
* very early, while there is no session created yet. * * @since 4.0.0 */ @Experimental @Consumer @Named public interface PropertyContributor extends SpiService { /** * Invoked just before session is created with a mutable map that carries collected user properties so far. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/spi/PropertyContributorsHolder.java
import org.apache.maven.api.di.Named; import org.apache.maven.api.spi.PropertyContributor; /** * Hack: to circumvent sisu/plexus/di stuff. */ @Named public final class PropertyContributorsHolder { private final Map<String, PropertyContributor> propertyContributors; @Inject public PropertyContributorsHolder(Map<String, PropertyContributor> propertyContributors) { this.propertyContributors = propertyContributors;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 1.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
ProtoSession protoSession = context.protoSession; for (PropertyContributor propertyContributor : context.lookup .lookup(PropertyContributorsHolder.class) .getPropertyContributors() .values()) { protoSession = protoSession.toBuilder() .withUserProperties(propertyContributor.contribute(protoSession)) .build(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0)