Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for MavenSession (0.06 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  2. impl/maven-core/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 Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                }
            }
    
            return taskSegments;
        }
    
        private boolean projectIsNotPresent(MavenSession session) {
            return !session.getRequest().isProjectPresent();
        }
    
        private boolean requiresProject(MavenSession session) {
            List<String> goals = session.getGoals();
            if (goals != null) {
                for (String goal : goals) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. 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);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionEventCatapult.java

     * deleted without prior notice.
     *
     */
    public interface ExecutionEventCatapult {
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution);
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

            return "installer";
        }
    
        @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: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

            // bindScope(org.apache.maven.api.di.SessionScoped.class, scope);
            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
                    .in(scope);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/BuildPluginManager.java

                        MojoNotFoundException, InvalidPluginDescriptorException;
    
        ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
                throws PluginResolutionException, PluginManagerException;
    
        void executeMojo(MavenSession session, MojoExecution execution)
                throws MojoFailureException, MojoExecutionException, PluginConfigurationException, PluginManagerException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/BuildPluginManagerStub.java

            return MojoExecutorStub.createMojoDescriptor(plugin);
        }
    
        @Override
        public ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor) {
            return null;
        }
    
        @Override
        public void executeMojo(MavenSession session, MojoExecution execution) {}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top