Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 310 for Containers (0.06 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected MavenRepositorySystem repositorySystem;
    
        @Inject
        protected RepositorySystem repoSystem;
    
        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            PlexusContainer container = getContainer();
    
            ComponentDescriptor<T> cd = new ComponentDescriptor<>(participant, container.getContainerRealm());
            cd.setRoleClass(AbstractMavenLifecycleParticipant.class);
            container.addComponentDescriptor(cd);
    
            Maven maven = container.lookup(Maven.class);
            File pom = getProject(testProject);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

    @Named
    @Singleton
    public class DefaultCoreRealm implements CoreRealm {
    
        private final PlexusContainer container;
    
        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
        public ClassRealm getRealm() {
            return container.getContainerRealm();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

    import org.apache.maven.api.services.Lookup;
    
    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
         * Updates the existing capsule logging setup.
         */
        void updateLogging(LookupContext context);
    
        /**
         * The {@link Lookup} service backed by container in this capsule.
         */
        @Nonnull
        Lookup getLookup();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                throws Exception {
            ArtifactRepository repo = getLocalRepository();
    
            MutablePlexusContainer container = (MutablePlexusContainer) getContainer();
            MavenSession mavenSession = createSession(container, repo, executionProperties);
            mavenSession.setCurrentProject(project);
            mavenSession.getRequest().setRootDirectory(rootDirectory);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. compat/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");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  7. ci/official/envs/rbe

      # port-forwarding is required for the container to detect it's running on GCE.
      export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
      netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
      # A local firewall rule for the container is added in
      # ci/official/utilities/setup_docker.sh.
    else
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Aug 09 16:05:18 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java

            session.setProjects(dependencyGraphStub.getSortedProjects());
    
            LifecycleModuleBuilder moduleBuilder = container.lookup(LifecycleModuleBuilder.class);
            set(moduleBuilder, "mojoExecutor", mojoExecutor);
    
            LifecycleStarter ls = container.lookup(LifecycleStarter.class);
            ls.execute(session);
    
            assertNull(session.getCurrentProject());
            assertEquals(
    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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

     *
     * TODO you don't need the container in here with the active maps (jvz).
     * @since 3.0
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultConflictResolverFactory implements ConflictResolverFactory, Contextualizable {
        // fields -----------------------------------------------------------------
    
        /**
         * The plexus container used to obtain instances from.
         */
    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)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface TestContainerGenerator<T, E extends @Nullable Object> {
      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top