- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for setGoal (0.04 sec)
-
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java
private static final String LS = System.lineSeparator(); @Test void testMissingRequiredStringArrayTypeParameter() { MojoDescriptor mojoDescriptor = new MojoDescriptor(); mojoDescriptor.setGoal("goal"); PluginDescriptor pluginDescriptor = new PluginDescriptor(); pluginDescriptor.setGoalPrefix("goalPrefix"); pluginDescriptor.setArtifactId("artifactId");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java
assertEquals("", phase.toString()); LifecycleMojo mojo1 = new LifecycleMojo(); mojo1.setGoal("jar:jar"); phase.setMojos(Arrays.asList(mojo1)); assertEquals("jar:jar", phase.toString()); LifecycleMojo mojo2 = new LifecycleMojo(); mojo2.setGoal("war:war"); phase.setMojos(Arrays.asList(mojo1, mojo2)); assertEquals("jar:jar,war:war", phase.toString()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java
private XmlNode configuration; private List<Dependency> dependencies; public String getGoal() { return goal; } public XmlNode getConfiguration() { return configuration; } public List<Dependency> getDependencies() { return dependencies; } public void setGoal(String goal) { this.goal = goal; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java
LifecycleMojo lifecycleMojo = new LifecycleMojo(); lifecycleMojo.setGoal(s.trim()); return lifecycleMojo; }; @Override public String toString() { return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream() .map(LifecycleMojo::getGoal) .collect(Collectors.joining(",")); } @Deprecated
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
*/ public String getId() { return getPluginDescriptor().getId() + ":" + getGoal(); } /** * @return the full goal name * @see PluginDescriptor#getGoalPrefix() * @see #getGoal() */ public String getFullGoalName() { return getPluginDescriptor().getGoalPrefix() + ":" + getGoal(); } /** {@inheritDoc} */ @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 21.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
new org.eclipse.aether.graph.Dependency(RepositoryUtils.toArtifact(artifact), "compile")); pd.setDependencyNode(node); MojoDescriptor md = new MojoDescriptor(); md.setGoal("my-goal"); md.setPluginDescriptor(pd); pd.addComponentDescriptor(md); return new DefaultMojoExecution(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
session.getRequest().setRootDirectory(rootDirectory); MojoDescriptor mojo = new MojoDescriptor(); mojo.setPluginDescriptor(pluginDescriptor); mojo.setGoal("goal"); MojoExecution mojoExecution = new MojoExecution(mojo); return new PluginParameterExpressionEvaluator(session, mojoExecution); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
throws PlexusConfigurationException { MojoDescriptor mojo = new MojoDescriptor(); mojo.setPluginDescriptor(pluginDescriptor); mojo.setGoal(c.getChild("goal").getValue()); mojo.setImplementation(c.getChild("implementation").getValue()); PlexusConfiguration langConfig = c.getChild("language"); if (langConfig != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 17.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java
pluginArtifactId = mojoDescriptor.getPluginDescriptor().getArtifactId(); pluginVersion = mojoDescriptor.getPluginDescriptor().getVersion(); goal = mojoDescriptor.getGoal(); } protected PluginManagerException(MojoDescriptor mojoDescriptor, MavenProject project, String message) { super(message); this.project = project;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java
super(toMessage(goal, pluginDescriptor)); this.goal = goal; this.pluginDescriptor = pluginDescriptor; } public String getGoal() { return goal; } public PluginDescriptor getPluginDescriptor() { return pluginDescriptor; } private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)