Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for MavenSession (0.07 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top