Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isAbsolute (0.04 sec)

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

         */
        @Nonnull
        default Path targetPath(@Nonnull Project project) {
            Optional<Path> targetPath = targetPath();
            // The test for `isAbsolute()` is a small optimization for avoiding the call to `getOutputDirectory(…)`.
            return targetPath.filter(Path::isAbsolute).orElseGet(() -> {
                Path base = project.getOutputDirectory(scope());
                return targetPath.map(base::resolve).orElse(base);
            });
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top