Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ProjectActivation (0.92 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    /**
     * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
     * build if those projects do not exist.
     */
    public class ProjectActivation {
    
        /**
         * ProjectActivationSettings
         * @param selector the selector of a project, which can be the project directory, [groupId]:[artifactId] or :[artifactId]
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                throws MavenExecutionException {
            List<MavenProject> result = projects;
    
            ProjectActivation projectActivation = request.getProjectActivation();
    
            Set<String> requiredSelectors = projectActivation.getRequiredActiveProjectSelectors();
            Set<String> optionalSelectors = projectActivation.getOptionalActiveProjectSelectors();
            if (!requiredSelectors.isEmpty() || !optionalSelectors.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                MavenExecutionRequest request,
                List<MavenProject> projects,
                List<ProjectActivation.ProjectActivationSettings> projectSelectors)
                throws MavenExecutionException {
    
            Set<MavenProject> resolvedOptionalProjects = new LinkedHashSet<>();
            Set<ProjectActivation.ProjectActivationSettings> unresolvedSelectors = new HashSet<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        private List<Proxy> proxies;
    
        private List<Server> servers;
    
        private List<Mirror> mirrors;
    
        private List<Profile> profiles;
    
        private final ProjectActivation projectActivation = new ProjectActivation();
        private final ProfileActivation profileActivation = new ProfileActivation();
    
        private List<String> pluginGroups;
    
        private boolean isProjectPresent = true;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            final Options options = new Options();
            options.addOption(Option.builder(CLIManager.PROJECT_LIST).hasArg().build());
    
            ProjectActivation activation;
    
            activation = new ProjectActivation();
            performProjectActivation(
                    parser.parse(options, new String[] {"-pl", "test1,+test2,?test3,+?test4"}), activation);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                boolean parameterRecursive) {
            // Given
            ProjectActivation projectActivation = new ProjectActivation();
            parameterActiveRequiredProjects.forEach(projectActivation::activateRequiredProject);
            parameterActiveOptionalProjects.forEach(projectActivation::activateOptionalProject);
            parameterInactiveRequiredProjects.forEach(projectActivation::deactivateRequiredProject);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final ProjectActivation projectActivation = request.getProjectActivation();
            final Set<String> allOptionalSelectors = new HashSet<>();
            allOptionalSelectors.addAll(projectActivation.getOptionalActiveProjectSelectors());
            allOptionalSelectors.addAll(projectActivation.getRequiredActiveProjectSelectors());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                return MavenExecutionRequest.REACTOR_MAKE_BOTH;
            } else {
                return null;
            }
        }
    
        protected void performProjectActivation(MavenContext context, ProjectActivation projectActivation) {
            if (context.options().projects().isPresent()
                    && !context.options().projects().get().isEmpty()) {
                List<String> optionValues = context.options().projects().get();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * Return the requested activation(s) of project(s) in this execution.
         * @return requested (de-)activation(s) of project(s) in this execution. Never {@code null}.
         */
        ProjectActivation getProjectActivation();
    
        /**
         * Return the requested activation(s) of profile(s) in this execution.
         * @return requested (de-)activation(s) of profile(s) in this execution. Never {@code null}.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
            return current.isFile() ? current : null;
        }
    
        // Visible for testing
        static void performProjectActivation(final CommandLine commandLine, final ProjectActivation projectActivation) {
            if (commandLine.hasOption(CLIManager.PROJECT_LIST)) {
                final String[] optionValues = commandLine.getOptionValues(CLIManager.PROJECT_LIST);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top