Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for defaultCharset (0.08 sec)

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

            return parseArgs(Options.SOURCE_CLI, args);
        }
    
        protected O parseMavenConfigOptions(Path configFile) throws ParserException, IOException {
            try (Stream<String> lines = Files.lines(configFile, Charset.defaultCharset())) {
                List<String> args =
                        lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")).toList();
                O options = parseArgs("maven.config", args);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                File configFile = new File(cliRequest.multiModuleProjectDirectory, MVN_MAVEN_CONFIG);
    
                if (configFile.isFile()) {
                    try (Stream<String> lines = Files.lines(configFile.toPath(), Charset.defaultCharset())) {
                        String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#"))
                                .toArray(String[]::new);
                        mavenConfig = cliManager.parse(args);
    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