Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for goals (1.84 sec)

  1. 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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K 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())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            MojoDescriptor mojoDescriptor = pluginDescriptor.getMojo(goal);
    
            if (mojoDescriptor == null) {
                throw new MojoNotFoundException(goal, pluginDescriptor);
            }
    
            return mojoDescriptor;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top