Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for setGoals (0.05 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

            if (this.goals == null) {
                this.goals = new java.util.ArrayList<String>();
            }
    
            return this.goals;
        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
         */
        public void removeGoal(String string) {
            getGoals().remove(string);
        } // -- void removeGoal( String )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. compat/maven-model/pom.xml

                  <exclude>org.apache.maven.model.Notifier#addConfiguration(java.lang.String,java.lang.String):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Plugin#getGoals():METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Plugin#setGoals(java.lang.Object):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Resource#initMergeId():METHOD_REMOVED</exclude>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setLocalRepository(getLocalRepository())
                    .setRemoteRepositories(getRemoteRepositories())
                    .setPluginArtifactRepositories(getPluginArtifactRepositories())
                    .setGoals(Arrays.asList("package"));
    
            if (pom != null) {
                request.setMultiModuleProjectDirectory(pom.getParentFile());
            }
    
            return request;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        @Deprecated
        Date getStartTime();
    
        MavenExecutionRequest setStartInstant(Instant start);
    
        Instant getStartInstant();
    
        // 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setInstallationToolchainsFile(original.getInstallationToolchainsFile());
            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());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  6. impl/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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                PluginExecution target, 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            .collect(Collectors.groupingBy(ToolchainModel::getType)));
    
            request.setNoSnapshotUpdates(context.options().suppressSnapshotUpdates().orElse(false));
            request.setGoals(context.options().goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!context.options().nonRecursive().orElse(!request.isRecursive()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            disableInteractiveModeIfNeeded(cliRequest, request);
            enableOnPresentOption(commandLine, CLIManager.SUPPRESS_SNAPSHOT_UPDATES, request::setNoSnapshotUpdates);
            request.setGoals(commandLine.getArgList());
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(commandLine));
            disableOnPresentOption(commandLine, CLIManager.NON_RECURSIVE, request::setRecursive);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            List<String> src = source.getGoals();
            if (!src.isEmpty()) {
                List<String> tgt = target.getGoals();
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                merged.addAll(src);
                target.setGoals(merged);
            }
        }
    
        protected void mergeResource(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
Back to Top