Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for execute (0.18 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-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)
  3. 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)
  4. 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)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

            MojoWrapper(org.apache.maven.api.plugin.Mojo mojoV4) {
                this.mojoV4 = mojoV4;
            }
    
            @Override
            public void execute() throws MojoExecutionException, MojoFailureException {
                try {
                    mojoV4.execute();
                } catch (MojoException e) {
                    throw new MojoExecutionException(e.getMessage(), e);
                }
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public void execute(MavenSession session) {}
    
        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
    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)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            }
    
            ExecutorService createExecutor(int parallelism) {
                //
                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
                // for the initial task...
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @see Project#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        @Nonnull
        List<Project> getProjects();
    
        /**
         * Returns the plugin context for mojo being executed and the specified
         * {@link Project}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top