Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for goal (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.since = since;
        }
    
        /**
         * @return The goal name of the Mojo
         */
        public String getGoal() {
            return goal;
        }
    
        /**
         * @param goal The new goal name of the Mojo
         */
        public void setGoal(String goal) {
            this.goal = goal;
        }
    
        /**
         * @return the invocation phase of the Mojo
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
                pluginExecution.addGoal(goal);
                plugin.addExecution(pluginExecution);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

            }
        }
    
        private static String getExecutionId(Plugin plugin, String goal) {
            Set<String> existingIds = plugin != null
                    ? plugin.getExecutions().stream().map(PluginExecution::getId).collect(Collectors.toSet())
                    : Set.of();
            String base = "default-" + goal;
            String id = base;
            for (int index = 1; existingIds.contains(id); index++) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - version range violation
    - circular dependency
    - artifact missing
    - artifact retrieval exception
    - md5 checksum doesn't match for local artifact, need to redownload this
    - POM doesn't exist for a goal that requires one
    - parent POM missing (in both the repository + relative path)
    - component not found
    
    Plugins:
    - plugin metadata missing
    - plugin metadata retrieval problem
    - plugin artifact missing
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. 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
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top