Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ProjectActivation (0.17 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 {
        private static class ProjectActivationSettings {
            /**
             * The selector of a project. This can be the project directory, [groupId]:[artifactId] or :[artifactId].
             */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                return MavenExecutionRequest.REACTOR_MAKE_BOTH;
            } else {
                return null;
            }
        }
    
        protected void performProjectActivation(C context, ProjectActivation projectActivation) {
            MavenOptions mavenOptions = context.invokerRequest.options();
            if (mavenOptions.projects().isPresent()
                    && !mavenOptions.projects().get().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            } else {
                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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top