Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for nonRecursive (0.21 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        @Override
        public Optional<Boolean> offline() {
            return returnFirstPresentOrEmpty(MavenOptions::offline);
        }
    
        @Override
        public Optional<Boolean> nonRecursive() {
            return returnFirstPresentOrEmpty(MavenOptions::nonRecursive);
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
            return returnFirstPresentOrEmpty(MavenOptions::updateSnapshots);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add(mavenOptions.alternatePomFile().get());
            }
            if (mavenOptions.offline().orElse(false)) {
                cmdAndArguments.add("--offline");
            }
            if (mavenOptions.nonRecursive().orElse(false)) {
                cmdAndArguments.add("--non-recursive");
            }
            if (mavenOptions.updateSnapshots().orElse(false)) {
                cmdAndArguments.add("--update-snapshots");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> nonRecursive() {
            if (commandLine.hasOption(CLIManager.NON_RECURSIVE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if non-recursive mode is enabled, false if disabled, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> nonRecursive();
    
        /**
         * Indicates whether Maven should force a check for updated snapshots on remote repositories.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setGoals(options.goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(options.offline().orElse(request.isOffline()));
            request.setUpdateSnapshots(options.updateSnapshots().orElse(false));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public static final char ERRORS = 'e';
    
        public static final char HELP = 'h';
    
        public static final char VERSION = 'v';
    
        public static final char SHOW_VERSION = 'V';
    
        public static final char NON_RECURSIVE = 'N';
    
        public static final char UPDATE_SNAPSHOTS = 'U';
    
        public static final char ACTIVATE_PROFILES = 'P';
    
        public static final String SUPPRESS_SNAPSHOT_UPDATES = "nsu";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setGoals(commandLine.getArgList());
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(commandLine));
            disableOnPresentOption(commandLine, CLIManager.NON_RECURSIVE, request::setRecursive);
            enableOnPresentOption(commandLine, CLIManager.OFFLINE, request::setOffline);
            enableOnPresentOption(commandLine, CLIManager.UPDATE_SNAPSHOTS, request::setUpdateSnapshots);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top