Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for MavenSession (0.17 sec)

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

                        .filter(Parameter::isEditable)
                        .forEach(parameter -> checkParameter(
                                mavenSession, mojoDescriptor, mojoClass, parameter, pomConfiguration, expressionEvaluator));
            }
        }
    
        private void checkParameter(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                Parameter parameter,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            : null,
                    lookup);
            this.mavenSession = session;
            this.mavenRepositorySystem = mavenRepositorySystem;
            this.runtimeInformation = runtimeInformation;
        }
    
        @Override
        public MavenSession getMavenSession() {
            if (mavenSession == null) {
                throw new IllegalArgumentException("Found null mavenSession on session " + this);
            }
            return mavenSession;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    
        /**
         * Stores the toolchain into build context for later use by toolchain-aware plugins.
         *
         * @param toolchain the toolchain to store, must not be {@code null}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/MavenTestHelper.java

            DefaultMavenExecutionRequest request = new DefaultMavenExecutionRequest();
            MavenSession mavenSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
            DefaultSession session =
                    new DefaultSession(mavenSession, null, null, repositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(repoSession, session);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            }
            return result;
        }
    
        public static MavenSession getMavenSession(MavenProject mavenProject) {
            final MavenSession session = getMavenSession();
            session.setCurrentProject(mavenProject);
            return session;
        }
    
        public static MavenSession getMavenSession() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

    class BuilderCommonTest {
        private Logger logger = mock(Logger.class);
    
        @Test
        void testResolveBuildPlan() throws Exception {
            MavenSession original = ProjectDependencyGraphStub.getMavenSession();
    
            final TaskSegment taskSegment1 = new TaskSegment(false);
            final MavenSession session1 = original.clone();
            session1.setCurrentProject(ProjectDependencyGraphStub.A);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, null);
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, null);
        }
    
        @Override
        public void execute(MavenSession session) {}
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

         * <p>
         * This method will record extra information as well, like plugin occurrence or declaration location.
         */
        void reportPluginValidationIssue(
                IssueLocality locality, MavenSession mavenSession, MojoDescriptor mojoDescriptor, String issue);
    
        /**
         * Reports plugin Mojo issues applicable to the Mojo itself.
         * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top