Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for mavenSession (0.07 sec)

  1. 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  2. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after MavenSession instance has been created.
         *
         * This callback is intended to allow extensions to inject execution properties,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public void execute(MavenSession session) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
            return createMavenSession(pom, new Properties());
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception {
            return createMavenSession(pom, executionProperties, false);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(event.getProject()).thenReturn(project);
    
            MavenProject rootProject = mock(MavenProject.class);
            when(rootProject.getBasedir()).thenReturn(basedir);
            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

     * @since 3.1.2
     */
    public class MojoExecutionEvent {
        private final MavenSession session;
    
        private final MavenProject project;
    
        private final MojoExecution mojoExecution;
    
        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.Toolchain;
    import org.apache.maven.api.services.ToolchainManager;
    import org.apache.maven.api.services.ToolchainManagerException;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.toolchain.DefaultToolchainManagerPrivate;
    import org.apache.maven.toolchain.MisconfiguredToolchainException;
    import org.apache.maven.toolchain.ToolchainPrivate;
    
    @Named
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    import org.apache.maven.artifact.resolver.filter.CumulativeScopeArtifactFilter;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.artifact.ProjectArtifact;
    import org.apache.maven.repository.RepositorySystem;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top