Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for topDirectory (0.08 sec)

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

                case ERROR -> Logger.LEVEL_ERROR;
            };
        }
    
        @Nullable
        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
            return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            throw new IllegalArgumentException("Directory " + topDirectory
                                    + " extracted from the -f/--file command-line argument " + arg + " does not exist");
                        }
                    } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            System.err.println("Directory " + topDirectory
                                    + " extracted from the -f/--file command-line argument " + arg + " does not exist");
                            throw new ExitException(1);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(request.installationDirectory()).thenReturn(Paths.get("/maven"));
            when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user"));
            when(request.topDirectory()).thenReturn(workingDirectory);
            when(request.rootDirectory()).thenReturn(Optional.empty());
            when(request.userProperties()).thenReturn(Map.of());
            when(request.systemProperties()).thenReturn(Map.of());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setInteractiveMode(context.interactive);
            request.setShowErrors(context.options().showErrors().orElse(false));
            request.setBaseDirectory(context.invokerRequest.topDirectory().toFile());
            request.setSystemProperties(toProperties(context.protoSession.getSystemProperties()));
            request.setUserProperties(toProperties(context.protoSession.getUserProperties()));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top