Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for Execute (0.2 sec)

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

     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            MavenExecutionRequest request = createMavenExecutionRequest(pom);
            request.setGoals(Arrays.asList("validate"));
            MavenExecutionResult result = maven.execute(request);
    
            assertFalse(result.hasExceptions(), result.getExceptions().toString());
    
            MavenProject project = result.getProject();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleStarter.java

     */
    package org.apache.maven.lifecycle.internal;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Starts the build life cycle
     *
     */
    public interface LifecycleStarter {
    
        void execute(MavenSession session);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:56:36 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

                    lifeCycleDependencyResolver,
                    eventCatapult,
                    mojosExecutionStrategy,
                    messageBuilderFactory);
        }
    
        @Override
        public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException {
            executions.addAll(mojoExecutions);
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/plugin-execution-isolation.apt

    ~~ under the License.
    
     -----
     Maven plugins
     -----
     The Maven Team
     -----
    
    Maven plugin execution isolation
    
     Maven2 takes advantage of Plexus' ability to execute a component using a
     ClassWorlds ClassRealm that is populated with the JAR containing the
     component in question and all of its dependencies. Using ClassWorlds
     notation for realms we have the following:
    
    +-----+
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 03 09:12:28 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        }
    
        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
            final DependencyContext dependencyContext = newDependencyContext(session, mojoExecutions);
    
            final PhaseRecorder phaseRecorder = new PhaseRecorder(session.getCurrentProject());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. maven-core/plugin-manager.txt

     * tools to pre-populate this repository
     *
     * h3. create an isolated classloader
     *
     * h3. lookup the plugin with a configuration
     *
     * h3. execute the plugin
     *
     * h3. plugins may have to deal with particular actions when a plugin is - installed - loaded -
     * unloaded - update - uninstalled
     *
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

         * @param session The build session in whose context the mojo will be used, must not be {@code null}.
         * @param mojoExecution The mojo execution to retrieve the mojo for, must not be {@code null}.
         * @return The ready-to-execute mojo, never {@code null}.
         */
        <T> T getConfiguredMojo(Class<T> mojoInterface, MavenSession session, MojoExecution mojoExecution)
                throws PluginConfigurationException, PluginContainerException;
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            ToolchainPrivate rareToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_rareType.createDefaultToolchain()).thenReturn(rareToolchain);
    
            // execute
            ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("basic", session);
    
            // verify
            verify(logger, never()).error(anyString());
            assertEquals(1, toolchains.length);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * This interface forms the contract required for <code>Mojos</code> to interact with the <code>Maven</code>
     * infrastructure.<br>
     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoException if error conditions occur.<br>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top