Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for showVersionMinimal (0.25 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                context.addInHeader(
                        context.style.italic().bold().foreground(Colors.rgbColor("green")),
                        "Maven Encryption " + CLIReportingUtils.showVersionMinimal());
                context.addInHeader("Tool for secure password management on workstations.");
                context.addInHeader("This tool is part of Apache Maven 4 distribution.");
                context.addInHeader("");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            }
            if (terminal != null) {
                version.append(ls).append("Terminal: ").append(terminal);
            }
            return version.toString();
        }
    
        public static String showVersionMinimal() {
            Properties properties = getBuildProperties();
            String version = reduce(properties.getProperty(BUILD_VERSION_PROPERTY));
            return (version != null ? version : "<version unknown>");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            Consumer<String> writer = determineWriter(context);
            R invokerRequest = context.invokerRequest;
            if (invokerRequest.options().quiet().orElse(false)) {
                writer.accept(CLIReportingUtils.showVersionMinimal());
            } else if (invokerRequest.options().verbose().orElse(false)) {
                writer.accept(CLIReportingUtils.showVersion(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
    
            if (cliRequest.commandLine.hasOption(CLIManager.VERSION)) {
                if (cliRequest.commandLine.hasOption(CLIManager.QUIET)) {
                    System.out.println(CLIReportingUtils.showVersionMinimal());
                } else {
                    System.out.println(CLIReportingUtils.showVersion());
                }
                throw new ExitException(0);
            }
    
    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