Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for getGoals (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                        Map<Integer, List<MojoExecution>> phaseBindings = mappings.get(execution.getPhase());
                        if (phaseBindings != null) {
                            for (String goal : execution.getGoals()) {
                                MojoExecution mojoExecution = new MojoExecution(plugin, goal, execution.getId());
                                mojoExecution.setLifecyclePhase(execution.getPhase());
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

            List<PluginExecution> executions = plugin.getExecutions();
    
            PluginExecution execution = executions.get(0);
    
            String g0 = execution.getGoals().get(0);
    
            assertEquals("plexus:runtime", g0);
    
            configuration = execution.getDelegate().getConfiguration();
    
            assertEquals(
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.phases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            }
            this.projects = projects;
        }
    
        public ArtifactRepository getLocalRepository() {
            return request.getLocalRepository();
        }
    
        public List<String> getGoals() {
            return request.getGoals();
        }
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
                    if (gs == null) {
                        logger.warn(
                                "Ignored invalid goal specification '{}' from lifecycle mapping for phase {}",
                                mojo.getGoal(),
                                phase);
                        continue;
                    }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                PluginExecution source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            List<String> src = source.getGoals();
            if (!src.isEmpty()) {
                List<String> tgt = target.getGoals();
                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setGlobalToolchainsFile(original.getGlobalToolchainsFile());
            copy.setBaseDirectory((original.getBaseDirectory() != null) ? new File(original.getBaseDirectory()) : null);
            copy.setGoals(original.getGoals());
            copy.setRecursive(original.isRecursive());
            copy.setPom(original.getPom());
            copy.setSystemProperties(original.getSystemProperties());
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                if (forkedExecutions != null) {
                    for (Execution execution : phase.getExecutions()) {
                        for (String goal : execution.getGoals()) {
                            MojoDescriptor forkedMojoDescriptor;
    
                            if (goal.indexOf(':') < 0) {
                                forkedMojoDescriptor = pluginDescriptor.getMojo(goal);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Timing (remove this)
        MavenExecutionRequest setStartTime(Date start);
    
        Date getStartTime();
    
        // Goals
        MavenExecutionRequest setGoals(List<String> goals);
    
        List<String> getGoals();
    
        // Properties
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
Back to top