- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PropertyContributor (0.14 sec)
-
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. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 20 19:58:27 UTC 2024 - 2.3K bytes - Viewed (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;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 20 19:58:27 UTC 2024 - 1.4K bytes - Viewed (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(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)