Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for updateSnapshots (0.06 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.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> updateSnapshots() {
            if (commandLine.hasOption(CLIManager.UPDATE_SNAPSHOTS)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<List<String>> activatedProfiles() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 14.8K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            request.setOffline(context.options().offline().orElse(request.isOffline()));
            request.setUpdateSnapshots(context.options().updateSnapshots().orElse(false));
            request.setGlobalChecksumPolicy(determineGlobalChecksumPolicy(context));
    
            Path pom = determinePom(context, lookup);
            if (pom != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 04:56:48 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top