Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for activatedProfiles (0.1 sec)

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

        public Optional<Boolean> updateSnapshots() {
            return returnFirstPresentOrEmpty(MavenOptions::updateSnapshots);
        }
    
        @Override
        public Optional<List<String>> activatedProfiles() {
            return collectListIfPresentOrEmpty(MavenOptions::activatedProfiles);
        }
    
        @Override
        public Optional<Boolean> suppressSnapshotUpdates() {
            return returnFirstPresentOrEmpty(MavenOptions::suppressSnapshotUpdates);
        }
    
    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("--update-snapshots");
            }
            if (mavenOptions.activatedProfiles().isPresent()) {
                cmdAndArguments.add("--activate-profiles");
                cmdAndArguments.add(
                        String.join(",", mavenOptions.activatedProfiles().get()));
            }
            if (mavenOptions.suppressSnapshotUpdates().orElse(false)) {
    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. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         * 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
        Optional<List<String>> activatedProfiles();
    
        /**
         * Indicates whether Maven should suppress SNAPSHOT updates.
         *
         * @return an {@link Optional} containing true if SNAPSHOT updates should be suppressed, false if not, or empty if not specified
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top