Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for containers (0.15 sec)

  1. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

        Session session;
    
        @Inject
        SessionScope sessionScope;
    
        @Inject
        PlexusContainer container;
    
        @Test
        void testProxiedSessionScopedBean() throws ComponentLookupException {
            ComponentLookupException e =
                    assertThrows(ComponentLookupException.class, () -> container.lookup(MySingletonBean2.class));
            assertTrue(e.getMessage().matches("[\\s\\S]*: Can not set .* field .* to [\\s\\S]*"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        private final String roleHint;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        private ConflictResolver conflictResolver;
    
        @Inject
        protected PlexusContainer container;
    
        // constructors -----------------------------------------------------------
    
        public AbstractConflictResolverTest(String roleHint) throws Exception {
            this.roleHint = roleHint;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                }
                return lifecycles;
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
            return getLifeCycles().stream().flatMap(l -> l.getPhases().stream()).collect(Collectors.joining(", "));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.annotations.Provider;
    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                                // as it would pull in dependency on:
                                // - maven-plugin-api (for model)
                                // - Plexus Container (for model supporting classes and exceptions)
                                XmlNode root = XmlNodeStaxBuilder.build(is, null);
                                String groupId = root.getChild("groupId").getValue();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelValidator.java

         *
         * @param model The model to validate, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        default void validateFileModel(Model model, ModelBuilderRequest request, ModelProblemCollector problems) {
            // do nothing
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected ProjectBuilder projectBuilder;
    
        @Inject
        protected RepositorySystem repositorySystem;
    
        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo

          <fields>
            <field>
              <name>remoteResources</name>
              <version>1.1.0</version>
              <description>
                Remote resources that are contained in a remote resources bundle.
              </description>
              <association>
                <type>String</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java

    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.sisu.EagerSingleton;
    import org.eclipse.sisu.PreDestroy;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Maven internal component that bridges container "shut down" to {@link RepositorySystem#shutdown()}.
     *
     * @since 3.9.0
     */
    @Named
    @EagerSingleton
    final class ResolverLifecycle {
        private final Provider<RepositorySystem> repositorySystemProvider;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 13 22:19:20 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top