Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 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)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
                url = "file://" + localRepository.getCanonicalPath();
            }
    
            return url;
        }
    
        @Override
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top