Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for MavenSession (0.14 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            void close();
        }
    
        protected NoExceptionCloseable getProjectLock(MavenSession session, MojoDescriptor mojoDescriptor) {
            if (useProjectLock(session)) {
                return new ProjectLock(session, mojoDescriptor);
            } else {
                return new NoLock();
            }
        }
    
        protected boolean useProjectLock(MavenSession session) {
            return session.getRequest().getDegreeOfConcurrency() > 1;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            File pom = getProject("project-basic");
            MavenSession session = createMavenSession(pom);
            Plugin plugin = mojoDescriptorCreator.findPluginForPrefix("clean", session);
            assertNotNull(plugin);
        }
    
        @Test
        void testSetupMojoExecution() throws Exception {
            File pom = getProject("mojo-configuration");
    
            MavenSession session = createMavenSession(pom);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            request.setRepositorySession(session);
    
            DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            MavenSession msession =
                    new MavenSession(getContainer(), session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            DefaultSession iSession = new DefaultSession(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

            return "deployer";
        }
    
        @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");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal.stub;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator;
    import org.apache.maven.lifecycle.internal.GoalTask;
    import org.apache.maven.lifecycle.internal.LifecycleTask;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

                    .newRepositorySessionBuilder(mavenRequest)
                    .build();
            request.setRepositorySession(rsession);
            MavenSession msession = new MavenSession(rsession, mavenRequest, new DefaultMavenExecutionResult());
            InternalSession session = new DefaultSession(
                    msession,
                    repositorySystem,
                    null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

        private final TaskSegment taskSegment;
    
        private final MavenSession session;
    
        private final List<MavenProject> nonTransitiveUpstreamProjects;
    
        private final List<MavenProject> transitiveUpstreamProjects;
    
        public ProjectSegment(MavenProject project, TaskSegment taskSegment, MavenSession copiedSession) {
            this.project = project;
            this.taskSegment = taskSegment;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

                    + DEPRECATED_CORE_PARAMETERS.get(parameter.getDefaultValue());
        }
    
        @Override
        protected void doValidate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

                    messageBuilderFactory);
        }
    
        @Override
        public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException {
            executions.addAll(mojoExecutions);
        }
    
        @Override
        public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session)
                throws LifecycleExecutionException {
            return null;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top