Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for Clauss (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                    throw e.getCause();
                }
            };
            Class<T> superType = (Class<T>) key.getTypeLiteral().getRawType();
            Class<?>[] interfaces = getInterfaces(superType);
            return (T) java.lang.reflect.Proxy.newProxyInstance(superType.getClassLoader(), interfaces, dispatcher);
        }
    
        private Class<?>[] getInterfaces(Class<?> superType) {
            if (superType.isInterface()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java

    import org.apache.maven.api.spi.PathScopeProvider;
    import org.apache.maven.api.spi.ProjectScopeProvider;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    public class ExtensibleEnumRegistries {
    
        @Named
        @SessionScoped
        public static class DefaultPathScopeRegistry extends DefaultExtensibleEnumRegistry<PathScope, PathScopeProvider>
                implements PathScopeRegistry {
    
            @Inject
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
                projectBuilder = getContainer().lookup(ProjectBuilder.class);
            }
        }
    
        protected ProjectBuilder getProjectBuilder() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    @PlexusTest
    @Deprecated
    class DefaultWagonManagerTest {
        @Inject
        private WagonManager wagonManager;
    
        private final TransferListener transferListener = new Debug();
    
        @Inject
        private ArtifactFactory artifactFactory;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import static org.apache.maven.internal.impl.Lifecycles.phase;
    import static org.apache.maven.internal.impl.Lifecycles.plugin;
    
    /**
     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    @Singleton
    public class DefaultLifecycleRegistry
            extends ExtensibleEnumRegistries.DefaultExtensibleEnumRegistry<Lifecycle, LifecycleProvider>
            implements LifecycleRegistry {
    
        public DefaultLifecycleRegistry() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

     * <p>
     * This class, while technically is not immutable, should be considered as such once set up. If not mutated, it is also
     * thread-safe. The mutation of this class instances should happen beforehand their use in session.
     */
    public class MavenChainedWorkspaceReader implements MavenWorkspaceReader {
    
        protected List<WorkspaceReader> readers;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

    import org.eclipse.aether.repository.RepositoryPolicy;
    
    /**
     * <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class ArtifactDescriptorUtils {
    
        public static Artifact toPomArtifact(Artifact artifact) {
            Artifact pomArtifact = artifact;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.*;
    
    import org.apache.maven.project.CycleDetectedException;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            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(Collections.emptyList(), Collections.emptyMap()),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top