Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getExecution (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
        public Mojo getMojo() {
            return mojo;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

            getExecutions().add(execution);
        } // -- void addExecution( Execution )
    
        /**
         * Get configuration to pass to all goals run in this phase.
         *
         * @return Object
         */
        public Object getConfiguration() {
            return this.configuration;
        } // -- Object getConfiguration()
    
        /**
         * Method getExecutions.
         *
         * @return List
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    Plugin target, Plugin source, boolean sourceDominant, Map<Object, Object> context) {
                List<PluginExecution> src = source.getExecutions();
                if (!src.isEmpty()) {
                    List<PluginExecution> tgt = target.getExecutions();
                    Map<Object, PluginExecution> merged = new LinkedHashMap<>((src.size() + tgt.size()) * 2);
    
                    for (PluginExecution element : tgt) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    if (existing != null) {
                        if (version == null) {
                            version = existing.getVersion();
                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
                    PluginExecution execution = PluginExecution.newBuilder()
                            .id(getExecutionId(existing, goal))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    }
    
                    if (mojo.getDependencies() != null) {
                        plugin.setDependencies(mojo.getDependencies());
                    }
                    plugin.getExecutions().add(execution);
                }
            }
        }
    
        private GoalSpec parseGoalSpec(String goalSpec) {
            GoalSpec gs = new GoalSpec();
    
            String[] p = goalSpec.trim().split(":");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

            // Goal specific configuration
            // ----------------------------------------------------------------------
    
            List<PluginExecution> executions = plugin.getExecutions();
    
            PluginExecution execution = executions.get(0);
    
            String g0 = execution.getGoals().get(0);
    
            assertEquals("plexus:runtime", g0);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    Plugin target, Plugin source, boolean sourceDominant, Map<Object, Object> context) {
                List<PluginExecution> src = source.getExecutions();
                if (!src.isEmpty()) {
                    List<PluginExecution> tgt = target.getExecutions();
    
                    Map<Object, PluginExecution> merged = new LinkedHashMap<>((src.size() + tgt.size()) * 2);
    
                    for (PluginExecution element : src) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/PluginLifecycle.java

                                    .version(pluginDescriptor.getVersion())
                                    .configuration(phase.getConfiguration())
                                    .executions(phase.getExecutions().stream()
                                            .map(exec -> org.apache.maven.api.model.PluginExecution.newBuilder()
                                                    .goals(exec.getGoals())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

                count = count + 1;
    
                validPluginCounts.put(pluginArtifactId, count);
            }
    
            assertNotNull(testPlugin);
    
            List<PluginExecution> executions = testPlugin.getExecutions();
    
            assertEquals(1, executions.size());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top