Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for PlexusContainer (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

        private final DefaultPlexusContainer plexusContainer;
        private final Lookup lookup;
    
        public PlexusContainerCapsule(
                LookupContext context, ClassLoader previousClassLoader, DefaultPlexusContainer plexusContainer) {
            this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader");
            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.codehaus.plexus.PlexusConstants;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.codehaus.plexus.context.Context;
    import org.codehaus.plexus.context.ContextException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Inject
        MavenRepositorySystem mavenRepositorySystem;
    
        @Inject
        DefaultToolchainManager toolchainManagerPrivate;
    
        @Inject
        PlexusContainer plexusContainer;
    
        @Inject
        MojoExecutionScope mojoExecutionScope;
    
        @Inject
        RuntimeInformation runtimeInformation;
    
        @Inject
        ArtifactHandlerManager artifactHandlerManager;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

    import org.apache.maven.internal.impl.internal.DefaultCoreRealm;
    import org.apache.maven.model.Model;
    import org.codehaus.plexus.DefaultPlexusContainer;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.PlexusContainerException;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    import org.eclipse.aether.artifact.Artifact;
    import org.junit.jupiter.api.Test;
    import org.mockito.InOrder;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            myLifecycles.addAll(defaultLifeCycles.getLifeCycles());
    
            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycles dl = new DefaultLifecycles(
                    new DefaultLifecycleRegistry(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java

        @Inject
        protected RepositorySystem system;
    
        @Inject
        protected PlexusContainer container;
    
        protected RepositorySystemSession session;
    
        @BeforeEach
        public void setUp() throws Exception {
            session = newMavenRepositorySystemSession(system);
        }
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        @Deprecated
        public DefaultProfileManager(PlexusContainer container) {
            this(container, null);
        }
    
        /**
         * the properties passed to the profile manager are the props that
         * are passed to maven, possibly containing profile activator properties
         *
         */
        public DefaultProfileManager(PlexusContainer container, Properties props) {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            this(true);
        }
    
        public SisuDiBridgeModule(boolean discover) {
            this.discover = discover;
        }
    
        @Override
        protected void configure() {
            Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class);
            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top