- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 54 for getGoals (0.06 seconds)
-
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:07:01 GMT 2024 - 6.3K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 8.5K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 3.7K bytes - Click Count (0) -
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 beenCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
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(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.4K bytes - Click Count (0) -
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; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 21.7K bytes - Click Count (0)