Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for topDirectory (0.09 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

                this.startTime = requireNonNull(startTime, "startTime");
                return this;
            }
    
            public Builder withTopDirectory(@Nonnull Path topDirectory) {
                this.topDirectory = requireNonNull(topDirectory, "topDirectory");
                return this;
            }
    
            public Builder withRootDirectory(@Nullable Path rootDirectory) {
                this.rootDirectory = rootDirectory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

            this.userHomeDirectory = requireNonNull(userHomeDirectory);
    
            this.userProperties = requireNonNull(userProperties);
            this.systemProperties = requireNonNull(systemProperties);
            this.topDirectory = requireNonNull(topDirectory);
            this.rootDirectory = rootDirectory;
            this.coreExtensions = coreExtensions;
            this.ciInfo = ciInfo;
            this.options = options;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

        String[] args;
    
        CommandLine commandLine;
    
        ClassWorld classWorld;
    
        String workingDirectory;
    
        File multiModuleProjectDirectory;
    
        Path rootDirectory;
    
        Path topDirectory;
    
        boolean verbose;
    
        boolean quiet;
    
        boolean showErrors = true;
    
        Properties userProperties = new Properties();
    
        Properties systemProperties = new Properties();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            this.options = options;
            this.logger = invokerRequest.parserRequest().logger();
    
            Map<String, String> user = new HashMap<>(invokerRequest.userProperties());
            user.put("session.topDirectory", invokerRequest.topDirectory().toString());
            if (invokerRequest.rootDirectory().isPresent()) {
                user.put(
                        "session.rootDirectory",
                        invokerRequest.rootDirectory().get().toString());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:32 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return this;
        }
    
        @Override
        public Path getTopDirectory() {
            return topDirectory;
        }
    
        @Override
        public MavenExecutionRequest setTopDirectory(Path topDirectory) {
            this.topDirectory = topDirectory;
            return this;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  10. 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)
Back to top