Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for setGoals (0.11 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

            if (this.goals == null) {
                this.goals = new java.util.ArrayList<String>();
            }
    
            return this.goals;
        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
         */
        public void removeGoal(String string) {
            getGoals().remove(string);
        } // -- void removeGoal( String )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. compat/maven-model/pom.xml

                  <exclude>org.apache.maven.model.Notifier#addConfiguration(java.lang.String,java.lang.String):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Plugin#getGoals():METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Plugin#setGoals(java.lang.Object):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Resource#initMergeId():METHOD_REMOVED</exclude>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:07:01 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

        public List<TaskSegment> calculateTaskSegments(MavenSession session) throws Exception {
    
            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                        Map<PhaseId, List<MojoExecution>> phaseBindings = getPhaseBindings(mappings, phase);
                        if (phaseBindings != null) {
                            for (String goal : execution.getGoals()) {
                                MojoExecution mojoExecution = new MojoExecution(plugin, goal, execution.getId());
                                mojoExecution.setLifecyclePhase(phase);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/PluginLifecycle.java

                                            .map(exec -> org.apache.maven.api.model.PluginExecution.newBuilder()
                                                    .goals(exec.getGoals())
                                                    .configuration(exec.getConfiguration())
                                                    .build())
                                            .collect(Collectors.toList()))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java

        }
    
        public XmlNode getConfiguration() {
            return configuration;
        }
    
        public List<Dependency> getDependencies() {
            return dependencies;
        }
    
        public void setGoal(String goal) {
            this.goal = goal;
        }
    
        public void setConfiguration(XmlNode configuration) {
            this.configuration = configuration;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

            }
        }
    
        private final Function<String, LifecycleMojo> fromGoalIntoLifecycleMojo = s -> {
            LifecycleMojo lifecycleMojo = new LifecycleMojo();
            lifecycleMojo.setGoal(s.trim());
            return lifecycleMojo;
        };
    
        @Override
        public String toString() {
            return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    execution.setId(getExecutionId(plugin, gs.goal));
                    execution.setPhase(phase);
                    execution.setPriority(i - mojos.size());
                    execution.getGoals().add(gs.goal);
    
                    execution.setLocation("", location);
                    execution.setLocation("id", location);
                    execution.setLocation("phase", location);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top