Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for showVersion (0.06 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

        // CHECKSTYLE_ON: MagicNumber
    
        public static final String BUILD_VERSION_PROPERTY = "version";
    
        public static String showVersion() {
            return showVersion(null, null);
        }
    
        public static String showVersion(String commandLine, String terminal) {
            final String ls = System.lineSeparator();
            Properties properties = getBuildProperties();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        public Optional<Boolean> showVersionAndExit() {
            return returnFirstPresentOrEmpty(Options::showVersionAndExit);
        }
    
        @Override
        public Optional<Boolean> showVersion() {
            return returnFirstPresentOrEmpty(Options::showVersion);
        }
    
        @Override
        public Optional<Boolean> quiet() {
            return returnFirstPresentOrEmpty(Options::quiet);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

        /**
         * Indicates whether to show the version information.
         *
         * @return an {@link Optional} containing the boolean flag, or empty if not set
         */
        @Nonnull
        Optional<Boolean> showVersion();
    
        /**
         * Indicates whether to run in quiet mode.
         *
         * @return an {@link Optional} containing the boolean flag, or empty if not set
         */
        @Nonnull
        Optional<Boolean> quiet();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                }
            }
            if (mavenOptions.showVersionAndExit().orElse(false)) {
                cmdAndArguments.add("--version");
            }
            if (mavenOptions.showVersion().orElse(false)) {
                cmdAndArguments.add("--show-version");
            }
            if (mavenOptions.quiet().orElse(false)) {
                cmdAndArguments.add("--quiet");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top