Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for getGoals (0.43 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

        }
    
        public void addMojo(MojoExecution mojo, int priority) {
            if (!skip.get()) {
                mojos.computeIfAbsent(priority, k -> new LinkedHashMap<>())
                        .put(mojo.getGoal() + ":" + mojo.getExecutionId(), mojo);
            }
        }
    
        public void executeAfter(BuildStep stepToExecuteBefore) {
            if (!isSuccessorOf(stepToExecuteBefore)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                init();
                logger.warn(
                        "Goal '{}' requires online mode for execution but Maven is currently offline, skipping",
                        event.getMojoExecution().getGoal());
            }
        }
    
        /**
         * <pre>--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---</pre>
         */
        @Override
        public void mojoStarted(ExecutionEvent event) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                        .warning(":")
                        .warning(mojoExecution.getVersion())
                        .warning(":")
                        .warning(mojoExecution.getGoal());
    
                if (mojoExecution.getExecutionId() != null) {
                    messageBuilder.warning(" (");
                    messageBuilder.warning(mojoExecution.getExecutionId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setLocalRepository(getLocalRepository())
                    .setRemoteRepositories(getRemoteRepositories())
                    .setPluginArtifactRepositories(getPluginArtifactRepositories())
                    .setGoals(Arrays.asList("package"));
    
            if (pom != null) {
                request.setMultiModuleProjectDirectory(pom.getParentFile());
            }
    
            return request;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

            String mojoExecId =
                    mojoExecution.getGroupId() + ':' + mojoExecution.getArtifactId() + ':' + mojoExecution.getVersion()
                            + ':' + mojoExecution.getGoal() + " (" + mojoExecution.getExecutionId() + ')';
    
            Map<String, List<MojoExecution>> forkedExecutions = mojoExecution.getForkedExecutions();
            if (!forkedExecutions.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
                    PrintStream ps = new PrintStream(os);
                    ps.println("Unable to load the mojo '" + mojoDescriptor.getGoal() + "' in the plugin '"
                            + pluginDescriptor.getId() + "'. A required class is missing: "
                            + cause.getMessage());
                    pluginRealm.display(ps);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            assertEquals("", e.getGoal());
    
            e = assertThrows(
                    MojoNotFoundException.class,
                    () -> getExecutions(calculateExecutionPlan(
                            session, "org.apache.maven.plugins:maven-resources-plugin:0.1:resources:toomany")),
                    "expected a MojoNotFoundException");
            assertEquals("resources:toomany", e.getGoal());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setSystemProperties(properties)
                    .setGoals(Collections.emptyList())
                    .setBaseDirectory(new File(""))
                    .setLocalRepository(repo);
    
            DefaultRepositorySystemSession repositorySession =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

                    goal,
                    session.getCurrentProject().getRemotePluginRepositories(),
                    session.getRepositorySession());
            assertNotNull(mojoDescriptor);
            assertEquals(goal, mojoDescriptor.getGoal());
            // igorf: plugin realm comes later
            // assertNotNull( mojoDescriptor.getRealm() );
    
            PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
            assertNotNull(pluginDescriptor);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>id</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>the id of the mojo, based on the goal name</description>
            </field>
            <field xml.format="((PluginDescriptor.Builder) context.peekLast()).build().getGoalPrefix() + &quot;:&quot; + mojoDescriptor.build().getGoal()">
              <name>fullGoalName</name>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top