Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for MavenSession (0.23 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
    import org.apache.maven.lifecycle.MavenExecutionPlan;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.plugin.version.PluginVersionNotFoundException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

    public class ProjectExecutionEvent {
    
        private final MavenSession session;
    
        private final MavenProject project;
    
        private final List<MojoExecution> executionPlan;
    
        private final Throwable cause;
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project) {
            this(session, project, null, null);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

            this.runtimeInformation = runtimeInformation;
        }
    
        public InternalSession newSession(MavenSession mavenSession) {
            InternalSession session = new DefaultSession(
                    mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation);
            InternalSession.associate(mavenSession.getRepositorySession(), session);
            return session;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator;
    import org.apache.maven.lifecycle.internal.LifecycleStarter;
    import org.apache.maven.lifecycle.internal.LifecycleTaskSegmentCalculator;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top