- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MojoExecutionScope (0.06 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
import org.apache.maven.execution.scope.WeakMojoExecutionListener; import org.apache.maven.plugin.MojoExecutionException; /** * MojoExecutionScope */ public class MojoExecutionScope extends org.apache.maven.impl.di.MojoExecutionScope implements Scope, MojoExecutionListener { public <T> void seed(Class<T> clazz, Provider<T> value) { getScopeState().seed(clazz, value::get); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java
protected final MojoExecutionScope scope; public MojoExecutionScopeModule(MojoExecutionScope scope) { this.scope = scope; } @Override protected void configure() { bindScope(MojoExecutionScoped.class, scope); // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope); bind(MojoExecutionScope.class).toInstance(scope);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; class MojoExecutionScopeTest { @Test void testNestedEnter() throws Exception { MojoExecutionScope scope = new MojoExecutionScope(); scope.enter(); Object o1 = new Object(); scope.seed(Object.class, o1); assertSame(o1, scope.scope(Key.get(Object.class), () -> null).get());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java
/** * MojoExecutionScopeCoreModule */ @Named public class MojoExecutionScopeCoreModule extends MojoExecutionScopeModule { @Inject public MojoExecutionScopeCoreModule() { super(new MojoExecutionScope()); } @Override protected void configure() { super.configure(); bind(MojoExecutionListener.class).toInstance(scope); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0)