Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SessionScope (0.45 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

        @Inject
        private ArtifactDeployer artifactDeployer;
    
        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "deployer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private ArtifactInstaller artifactInstaller;
    
        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            InternalSession.associate(session, iSession);
    
            SessionScope sessionScope = container.lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, msession);
            sessionScope.seed(InternalMavenSession.class, iSession);
            sessionScope.seed(Session.class, iSession);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
            sessionScope.seed(Session.class, iSession);
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
                sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession()));
    
                legacySupport.setSession(session);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    import org.codehaus.plexus.ContainerConfiguration;
    import org.codehaus.plexus.DefaultContainerConfiguration;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            injector.bindImplicit(Providers.class);
            injector.discover(ProtoSession.class.getClassLoader());
            Session session = injector.getInstance(Session.class);
            SessionScope scope = new SessionScope();
            scope.enter();
            scope.seed(Session.class, session);
            injector.bindScope(SessionScoped.class, scope);
            return session;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import org.apache.maven.di.impl.Dependency;
    import org.apache.maven.di.impl.InjectorImpl;
    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.eclipse.sisu.BeanEntry;
    import org.eclipse.sisu.inject.BeanLocator;
    
    @Named
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.properties.internal.EnvironmentUtils;
    import org.apache.maven.properties.internal.SystemProperties;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    import org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest;
    import org.apache.maven.toolchain.building.ToolchainsBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top