Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for topDirectory (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                        "-DvalTopDirectory=${session.topDirectory}/pom.xml",
                        "-f",
                        "${session.rootDirectory}/my-child",
                        "prefix:3.0.0:${foo}",
                        "validate"
                    },
                    null);
            request.rootDirectory = rootDirectory;
            request.topDirectory = topDirectory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/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 Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                // maven requires this to be set; so default it (and see below at POM)
                request.setMultiModuleProjectDirectory(
                        context.invokerRequest.topDirectory().toFile());
                request.setRootDirectory(context.invokerRequest.topDirectory());
            }
    
            request.setToolchains(
                    Optional.ofNullable(context.effectiveToolchains).map(PersistedToolchains::getToolchains).stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        @Deprecated
        File getMultiModuleProjectDirectory();
    
        /**
         * Sets the top directory of the project.
         *
         * @since 4.0.0
         */
        MavenExecutionRequest setTopDirectory(Path topDirectory);
    
        /**
         * Gets the directory of the topmost project being built, usually the current directory or the
         * directory pointed at by the {@code -f/--file} command line argument.
         *
         * @since 4.0.0
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. 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