Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 222 for goals (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

     * </p>
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Mojo {
        /**
         * goal name (required).
         * @return the goal name
         */
        @Nonnull
        String name();
    
        /**
         * default phase to bind your mojo.
         * @return the default phase
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 29 18:21:40 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                        if (phaseBindings != null) {
                            for (String goal : execution.getGoals()) {
                                MojoExecution mojoExecution = new MojoExecution(plugin, goal, execution.getId());
                                mojoExecution.setLifecyclePhase(phase);
                                PhaseId phaseId = PhaseId.of(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)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

        /**
         * Retrieves the descriptor for the specified plugin goal from the plugin's main artifact.
         *
         * @param plugin The plugin whose mojo descriptor should be retrieved, must not be {@code null}.
         * @param goal The simple name of the mojo whose descriptor should be retrieved, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

            MavenSession session = createMavenSession(null);
            String goal = "it";
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
            plugin.setArtifactId("maven-it-plugin");
            plugin.setVersion("0.1");
    
            MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor(
                    plugin,
                    goal,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal java * @phase generate-sources * * @author Benjamin Bentmann */ public class AMojo extends AbstractMojo { /** @parameter expression="${version}" default-value="1.0" */ private String version; /** @parameter */ private String[] models; public void execute()...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            }
        }
    
        @Override
        public void mojoSkipped(ExecutionEvent event) {
            if (logger.isWarnEnabled()) {
                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
            }
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-compiler-plugin/0.1/maven-compiler-plugin-0.1.jar

    WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal compile * @requiresDependencyRe compile * * @author Benjamin Bentmann */ public class ItMojo extends AbstractMojo { public void execute() { } } src/main/java/org/apache/maven/plugins/coreit/TestMojo.java src/main/java/org/apache/maven/plugins/coreit/TestMojo.java...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        /**
         * Get set of plugins having a goal/mojo used but not marked @threadSafe
         *
         * @return the set of plugins (without info on which goal is concerned)
         */
        public Set<Plugin> getNonThreadSafePlugins() {
            Set<Plugin> plugins = new HashSet<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-plugin-plugin/0.1/maven-plugin-plugin-0.1.jar

    WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal descriptor * * @author Benjamin Bentmann */ public class ItMojo extends AbstractMojo { public void execute() { } } src/main/java/org/apache/maven/plugins/coreit/TestMojo.java src/main/java/org/apache/maven/plugins/coreit/TestMojo.java package org....
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-resources-plugin/0.1/maven-resources-plugin-0.1.jar

    WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal resources * * @author Benjamin Bentmann */ public class ItMojo extends AbstractMojo { public void execute() { } } src/main/java/org/apache/maven/plugins/coreit/TestMojo.java src/main/java/org/apache/maven/plugins/coreit/TestMojo.java package org.a...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.8K bytes
    - Click Count (0)
Back to Top