- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 35 for setGoals (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/test/java/org/apache/maven/DefaultMavenTest.java
Maven maven = getContainer().lookup(Maven.class); MavenExecutionRequest request = createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate")); MavenExecutionResult result = maven.execute(request); assertNotNull(result); Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
Maven maven = container.lookup(Maven.class); File pom = getProject("lifecycle-listener-dependency-injection"); MavenExecutionRequest request = createMavenExecutionRequest(pom); request.setGoals(Arrays.asList("validate")); MavenExecutionResult result = maven.execute(request); assertFalse(result.hasExceptions(), result.getExceptions().toString());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
for (String goal : goals) { PluginExecution pluginExecution = new PluginExecution(); pluginExecution.setId("default-" + goal); pluginExecution.setGoals(Collections.singletonList(goal)); plugin.addExecution(pluginExecution); } return plugin; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java
MavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest(); mavenExecutionRequest.setExecutionListener(new AbstractExecutionListener()); mavenExecutionRequest.setGoals(Arrays.asList("clean")); final MavenSession session = new MavenSession( null, new DefaultRepositorySystemSession(h -> false), mavenExecutionRequest,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java
MavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest(); mavenExecutionRequest.setExecutionListener(new AbstractExecutionListener()); mavenExecutionRequest.setGoals(Arrays.asList("clean", "aggr", "install")); mavenExecutionRequest.setDegreeOfConcurrency(1); final MavenSession session = new MavenSession(null, null, mavenExecutionRequest, defaultMavenExecutionResult);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.6K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
copy.setInstallationToolchainsFile(original.getInstallationToolchainsFile()); copy.setBaseDirectory((original.getBaseDirectory() != null) ? new File(original.getBaseDirectory()) : null); copy.setGoals(original.getGoals()); copy.setRecursive(original.isRecursive()); copy.setPom(original.getPom()); copy.setSystemProperties(original.getSystemProperties());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
.setLocalRepository(getLocalRepository()) .setRemoteRepositories(getRemoteRepositories()) .setPluginArtifactRepositories(getPluginArtifactRepositories()) .setGoals(Arrays.asList("package")); if (pom != null) { request.setMultiModuleProjectDirectory(pom.getParentFile()); } return request; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
@Deprecated Date getStartTime(); MavenExecutionRequest setStartInstant(Instant start); Instant getStartInstant(); // Goals MavenExecutionRequest setGoals(List<String> goals); List<String> getGoals(); // Properties /** * Sets the system properties to use for interpolation and profile activation. The system properties are collectedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0)