Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for MavenSession (0.05 sec)

  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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setRootDirectory(tempDir);
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
            configuration.setRepositorySession(mavenSession.getRepositorySession());
            org.apache.maven.project.ProjectBuilder projectBuilder =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            MavenSession mavenSession = createSession(container, repo, executionProperties);
            mavenSession.setCurrentProject(project);
            mavenSession.getRequest().setRootDirectory(rootDirectory);
            mavenSession.getRequest().setTopDirectory(rootDirectory);
    
            DefaultSession session = new DefaultSession(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                IssueLocality locality, MavenSession mavenSession, MojoDescriptor mojoDescriptor, String issue) {
            String pluginKey = pluginKey(mojoDescriptor);
            if (validationPluginExcludes(mavenSession.getRepositorySession()).contains(pluginKey)) {
                return;
            }
            PluginValidationIssues pluginIssues = pluginIssues(mavenSession.getRepositorySession())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:32 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

     * <tr><td><code>repositorySystemSession</code></td><td> (since Maven 3)</td>
     *                                             <td>{@link MavenSession#getRepositorySession()}</td></tr>
     * <tr><td><code>project</code></td>           <td></td>
     *                                             <td>{@link MavenSession#getCurrentProject()}</td></tr>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
            mavenSession.getRequest().setRootDirectory(path);
    
            Object result = new PluginParameterExpressionEvaluator(mavenSession, new MojoExecution(null))
                    .evaluate("${session.rootDirectory.uri}");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
Back to top