Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for getGoals (0.26 sec)

  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 )
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. 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())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:07:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (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())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (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()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

            List<PluginExecution> executions = plugin.getExecutions();
    
            PluginExecution execution = executions.get(0);
    
            String g0 = execution.getGoals().get(0);
    
            assertEquals("plexus:runtime", g0);
    
            configuration = execution.getDelegate().getConfiguration();
    
            assertEquals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
                    if (gs == null) {
                        logger.warn(
                                "Ignored invalid goal specification '{}' from lifecycle mapping for phase {}",
                                mojo.getGoal(),
                                phase);
                        continue;
                    }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. 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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            }
            this.projects = projects;
        }
    
        public ArtifactRepository getLocalRepository() {
            return request.getLocalRepository();
        }
    
        public List<String> getGoals() {
            return request.getGoals();
        }
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top