Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for MavenSession (0.16 sec)

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

                    lookup);
            this.mavenSession = session;
            this.mavenRepositorySystem = mavenRepositorySystem;
            this.runtimeInformation = runtimeInformation;
        }
    
        public MavenSession getMavenSession() {
            if (mavenSession == null) {
                throw new IllegalArgumentException("Found null mavenSession on session " + this);
            }
            return mavenSession;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. 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,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            MavenSession mavenSession =
                    new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            legacySupport.setSession(mavenSession);
            InternalSession iSession = new DefaultSession(
                    mavenSession,
                    null,
                    null,
                    null,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top