- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 55 for DiInjected (0.04 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
DiInjected diInjected = new DiInjected(); container.lookup(org.apache.maven.di.Injector.class).injectInstance(diInjected); assertNotNull(diInjected.parser); assertNotNull(diInjected.parsers); assertEquals(1, diInjected.parsers.size()); assertNotNull(diInjected.parsersMap); assertEquals(1, diInjected.parsersMap.size()); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 23:18:32 GMT 2025 - 12.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
import org.apache.maven.api.annotations.Nonnull; /** * Used to configure your Mojo parameters to be injected by * <a href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/MavenPluginManager.html"> * <code>MavenPluginManager.getConfiguredMojo(...)</code></a>. * <p> * Beans injected into Mojo parameters are prepared by <a href="https://www.eclipse.org/sisu/">Sisu</a> JSR330-based
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0) -
CLAUDE.md
- DI via `@Resource` annotation - `HtmlResponse` for JSP, `JsonResponse` for APIs ### Services - Business logic in `app.service.*` - Injected into Actions - Use behavior classes to access OpenSearch ### Helpers - Cross-cutting utilities in `helper.*` - Stateless, injected via DI - Access via `ComponentUtil.getFooHelper()` ## Development Notes - **Code Style**: Enforced by `mvn formatter:format`
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java
/** * Indicates that a given field will be injected with the result of * a dependency collection or resolution request. Whether a collection * or resolution request is performed is controlled by the {@link #pathScope()} * field, the injected field type and the {@link #requestType()}. * <p> * If the {@code requestType} is not set explicitly, it will be inferred * from the {@code pathScope} and the injected field type. If the typeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jun 11 07:23:04 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt
in terms of user-provided configuration from properties or the POM). If these mojos are to be first-class components, the configuration from these various sources must be consolidated and injected using the container. Currently, mojo configuration is done externally to the container, in the DefaultPluginManager in the maven-core API. In order to get from here to
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
import org.apache.maven.extension.internal.CoreExports; /** */ @Named @Singleton @Deprecated public class DefaultArtifactFilterManager implements ArtifactFilterManager { // this is a live injected collection protected final List<ArtifactFilterManagerDelegate> delegates; protected Set<String> excludedArtifacts; private final Set<String> coreArtifacts; @InjectCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; class MavenLifecycleParticipantTest extends AbstractCoreMavenComponentTestCase { private static final String INJECTED_ARTIFACT_ID = "injected"; public static class InjectDependencyLifecycleListener extends AbstractMavenLifecycleParticipant { @Override public void afterProjectsRead(MavenSession session) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java
* </p> * <p> * The mojo class can also be injected with an {@link Execute} annotation to specify a * forked lifecycle. * </p> * <p> * The {@link Parameter} annotation can be added on fields to inject data * from the plugin configuration or from other components. * </p> * <p> * Fields can also be annotated with the {@link Resolution} annotation to be injectedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Aug 29 18:21:40 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-listener/lifecycle-listener-dependency-injection/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.lifecycle-listener.test</groupId> <artifactId>simple</artifactId> <version>1.0</version> <properties> <foo>${injected}</foo> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.its.plugins</groupId> <artifactId>maven-it-plugin</artifactId> <version>0.1</version> <executions>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 678 bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
* * This is because the ModelProcessor interface extends ModelLocator and ModelReader. If we * made this component available under all its interfaces then it could end up being injected * into itself leading to a stack overflow. * * A side effect of using @Typed is that it translates to explicit bindings in the container.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0)