Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for execute (0.16 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. 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)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

            this.mojoExecutor = mojoExecutor;
            this.lifecycleStarter = lifecycleStarter;
        }
    
        public void execute(MavenSession session) {
            lifecycleStarter.execute(session);
        }
    
        // These methods deal with construction intact Plugin object that look like they come from a standard
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

                ArtifactRepository localRepository,
                boolean allowStubModel)
                throws ProjectBuildingException;
    
        // TODO this is only to provide a project for plugins that don't need a project to execute but need some
        // of the values from a MavenProject. Ideally this should be something internal and nothing outside Maven
        // would ever need this so it should not be exposed in a public API
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                this.unprefixedPathKeys = unprefixedPathKeys;
                this.projectDir = projectDir;
                this.pathTranslator = pathTranslator;
            }
    
            @Override
            public Object execute(String expression, Object value) {
                if (value != null) {
                    expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
                    if (unprefixedPathKeys.contains(expression)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            this.projectSelector = new ProjectSelector(); // if necessary switch to DI
        }
    
        @Override
        public MavenExecutionResult execute(MavenExecutionRequest request) {
            MavenExecutionResult result;
    
            try {
                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
    
            Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
            assertNotNull(wsrClass, "wsr cannot be null");
            assertTrue(MavenWorkspaceReader.class.isAssignableFrom(wsrClass), String.valueOf(wsrClass));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top