Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for containers (0.2 sec)

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

        }
    
        /* MNG-3984*/
        @Test
        void testDifferentContainersWithSameId() throws Exception {
            PomTestWrapper pom = buildPom("join-different-containers-same-id");
            assertEquals(1, ((List<?>) pom.getValue("build/plugins[1]/executions[1]/goals")).size());
            assertEquals(
                    1,
                    ((List<?>) pom.getValue(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                            mojo.setRealm(pluginRealm);
                            container.addComponentDescriptor(mojo);
                        }
                    }
                }
    
                ((DefaultPlexusContainer) container)
                        .discoverComponents(
                                pluginRealm,
                                new SessionScopeModule(container.lookup(SessionScope.class)),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertNotNull(project);
        }
    
        @Test
        void testCollectArtifactDependencies() {
            Artifact artifact =
                    session.createArtifact("org.codehaus.plexus", "plexus-container-default", "1.0-alpha-32", "jar");
            Node root = session.collectDependencies(artifact);
            assertNotNull(root);
        }
    
        @Test
        void testResolveArtifactCoordinateDependencies() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  7. 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)
  8. 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)
  9. 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 {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
         * Returns the upper boundary of this range, or {@code null} if none.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top