Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for updateSnapshots (0.12 sec)

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

        public Optional<Boolean> nonRecursive() {
            return returnFirstPresentOrEmpty(MavenOptions::nonRecursive);
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
            return returnFirstPresentOrEmpty(MavenOptions::updateSnapshots);
        }
    
        @Override
        public Optional<List<String>> activatedProfiles() {
            return collectListIfPresentOrEmpty(MavenOptions::activatedProfiles);
        }
    
    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-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.offline = offline;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots) {
            this.updateSnapshots = updateSnapshots;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setNoSnapshotUpdates(boolean noSnapshotUpdates) {
            this.noSnapshotUpdates = noSnapshotUpdates;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add("--offline");
            }
            if (mavenOptions.nonRecursive().orElse(false)) {
                cmdAndArguments.add("--non-recursive");
            }
            if (mavenOptions.updateSnapshots().orElse(false)) {
                cmdAndArguments.add("--update-snapshots");
            }
            if (mavenOptions.activatedProfiles().isPresent()) {
                cmdAndArguments.add("--activate-profiles");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K 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 snapshot updates should be forced, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> updateSnapshots();
    
        /**
         * Returns the list of profiles to activate.
         *
         * @return an {@link Optional} containing the list of profile names to activate, or empty if not specified
         */
        @Nonnull
    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/CommonsCliMavenOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
            if (commandLine.hasOption(CLIManager.UPDATE_SNAPSHOTS)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<List<String>> activatedProfiles() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(options.offline().orElse(request.isOffline()));
            request.setUpdateSnapshots(options.updateSnapshots().orElse(false));
            request.setGlobalChecksumPolicy(determineGlobalChecksumPolicy(context));
    
            Path pom = determinePom(context);
            if (pom != null) {
                request.setPom(pom.toFile());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Logging
        MavenExecutionRequest setLoggingLevel(int loggingLevel);
    
        int getLoggingLevel();
    
        // Update snapshots
        MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots);
    
        boolean isUpdateSnapshots();
    
        MavenExecutionRequest setNoSnapshotUpdates(boolean noSnapshotUpdates);
    
        boolean isNoSnapshotUpdates();
    
        // Checksum policy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        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";
    
        public static final char CHECKSUM_FAILURE_POLICY = 'C';
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            enableOnPresentOption(commandLine, CLIManager.OFFLINE, request::setOffline);
            enableOnPresentOption(commandLine, CLIManager.UPDATE_SNAPSHOTS, request::setUpdateSnapshots);
            request.setGlobalChecksumPolicy(determineGlobalCheckPolicy(commandLine));
            request.setBaseDirectory(baseDirectory);
    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