Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 71 for MavenSession (0.11 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        public String getReactorFailureBehavior() {
            return request.getReactorFailureBehavior();
        }
    
        @Override
        public MavenSession clone() {
            try {
                MavenSession clone = (MavenSession) super.clone();
                // the default must become the current project of the thread that clones this
                MavenProject current = getCurrentProject();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            : null,
                    lookup);
            this.mavenSession = session;
            this.mavenRepositorySystem = mavenRepositorySystem;
            this.runtimeInformation = runtimeInformation;
        }
    
        @Override
        public MavenSession getMavenSession() {
            if (mavenSession == null) {
                throw new IllegalArgumentException("Found null mavenSession on session " + this);
            }
            return mavenSession;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

                    .thenReturn(Map.of());
    
            toolchainManager = new ToolchainManagerFactory(lookup, logger).v3Manager();
        }
    
        @Test
        void testNoModels() {
            MavenSession session = mock(MavenSession.class);
            MavenExecutionRequest executionRequest = new DefaultMavenExecutionRequest();
            when(session.getRequest()).thenReturn(executionRequest);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    
        /**
         * Stores the toolchain into build context for later use by toolchain-aware plugins.
         *
         * @param toolchain the toolchain to store, must not be {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

    import org.apache.maven.api.plugin.descriptor.lifecycle.Phase;
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.api.xml.XmlService;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.DefaultLifecycles;
    import org.apache.maven.lifecycle.Lifecycle;
    import org.apache.maven.lifecycle.LifecycleMappingDelegate;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

                        PluginVersionResolutionException;
    
        void execute(MavenSession session);
    
        // used by the site plugin 3.x
        void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session)
                throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Holds data relevant for an execution event.
     *
     */
    class DefaultExecutionEvent implements ExecutionEvent {
    
        private final Type type;
    
        private final MavenSession session;
    
        private final MojoExecution mojoExecution;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            try (CloseableSession closeableSession = newCloseableSession(request, chainedWorkspaceReader)) {
                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            MavenSession mavenSession =
                    new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            legacySupport.setSession(mavenSession);
            InternalSession iSession = new DefaultSession(
                    mavenSession,
                    resolverRepositorySystem,
                    null,
                    null,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top