Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getGoals (1.8 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context) {
            List<String> src = source.getGoals();
            if (!src.isEmpty()) {
                List<String> tgt = target.getGoals();
                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                if (forkedExecutions != null) {
                    for (Execution execution : phase.getExecutions()) {
                        for (String goal : execution.getGoals()) {
                            MojoDescriptor forkedMojoDescriptor;
    
                            if (goal.indexOf(':') < 0) {
                                forkedMojoDescriptor = pluginDescriptor.getMojo(goal);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        for (Plugin plugin : project.getBuild().getPlugins()) {
                            for (PluginExecution execution : plugin.getExecutions()) {
                                for (String goal : execution.getGoals()) {
                                    MojoDescriptor mojoDescriptor = getMojoDescriptor(project, plugin, goal);
                                    String phase =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    val = interpolate(org);
                    if (org != val) {
                        execution.setPhase(val);
                    }
                    // Goals
                    visit(execution.getGoals());
                }
            }
    
            private void visit(Xpp3Dom dom) {
                if (dom != null) {
                    String org, val;
                    // Content
                    org = dom.getValue();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            List<String> src = source.getGoals();
            if (!src.isEmpty()) {
                List<String> tgt = target.getGoals();
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                merged.addAll(src);
                target.setGoals(merged);
            }
        }
    
        protected void mergeResource(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
Back to top