Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for goal (0.34 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

            if (p.length == 3) {
                // <groupId>:<artifactId>:<goal>
                gs.groupId = p[0];
                gs.artifactId = p[1];
                gs.goal = p[2];
            } else if (p.length == 4) {
                // <groupId>:<artifactId>:<version>:<goal>
                gs.groupId = p[0];
                gs.artifactId = p[1];
                gs.version = p[2];
                gs.goal = p[3];
            } else {
                // invalid
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
         * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be
         * another goal of the same plugin.
         * @return the goal
         */
        @Nonnull
        String goal() default "";
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    plugin.setVersion(tok[1]);
                }
                goal = tok[2];
            } else {
                // We have a prefix and goal
                //
                // idea:idea
                //
                String prefix = tok[0];
    
                if (numTokens == 2) {
                    goal = tok[1];
                } else {
                    // goal was missing - pass through to MojoNotFoundException
                    goal = "";
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java

    import org.apache.maven.model.Dependency;
    
    /**
     * Mojo (plugin goal) binding to a lifecycle phase.
     *
     * @see LifecyclePhase
     */
    public class LifecycleMojo {
    
        private String goal;
        private XmlNode configuration;
        private List<Dependency> dependencies;
    
        public String getGoal() {
            return goal;
        }
    
        public XmlNode getConfiguration() {
            return configuration;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 15:52:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. 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,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            return Plugin.newBuilder()
                    .groupId("org.apache.maven.plugins")
                    .artifactId(artifactId)
                    .executions(Arrays.stream(goals)
                            .map(goal -> PluginExecution.newBuilder()
                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            return Plugin.newBuilder()
                    .groupId("org.apache.maven.plugins")
                    .artifactId(artifactId)
                    .executions(Arrays.stream(goals)
                            .map(goal -> PluginExecution.newBuilder()
                                    .id("default-" + goal)
                                    .goals(List.of(goal))
                                    .build())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.phases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                        for (String goal : execution.getGoals()) {
                            MojoDescriptor forkedMojoDescriptor;
    
                            if (goal.indexOf(':') < 0) {
                                forkedMojoDescriptor = pluginDescriptor.getMojo(goal);
                                if (forkedMojoDescriptor == null) {
                                    throw new MojoNotFoundException(goal, pluginDescriptor);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
                        version = null;
                        goal = p[2];
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top