Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for plexusContainer (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throws InvalidRepositoryException {
            return buildArtifactRepository(repo, artifactRepositoryFactory, c);
        }
    
        public static ArtifactRepository buildArtifactRepository(
                Repository repo, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c)
                throws InvalidRepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

    import org.apache.maven.internal.CoreRealm;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    @Named
    @Singleton
    public class DefaultCoreRealm implements CoreRealm {
    
        private final PlexusContainer container;
    
        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader");
            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
        }
    
        @Override
        public void close() {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

    import org.apache.maven.api.services.LookupException;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    @Named
    @Singleton
    public class DefaultLookup implements Lookup {
    
        private final PlexusContainer container;
    
        @Inject
        public DefaultLookup(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected org.eclipse.aether.RepositorySystem resolverRepositorySystem;
    
        @Inject
        protected MavenRepositorySystem mavenRepositorySystem;
    
        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (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;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top