- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for isAbsolute (0.06 seconds)
-
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); });Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 14.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
return path; } if (path == null) { return null; } String s = stripBasedirToken(path); File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath(); } else if (file.getPath().startsWith(File.separator)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
this.basedir = basedir; } @Override public File translatePath(File path) { File result = path; if (path != null && basedir != null) { if (path.isAbsolute()) { // path is already absolute, we're done } else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive rootCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
String localRepository = userSettings.getLocalRepository(); if (localRepository != null && !localRepository.isEmpty()) { File file = new File(localRepository); if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) { userSettings.setLocalRepository(file.getAbsolutePath()); } } if (hasErrors(problems.getProblems())) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
d.getManagementKey(), "is missing.", d); } else { File sysFile = new File(systemPath); if (!sysFile.isAbsolute()) { addViolation( problems, Severity.ERROR, Version.BASE, prefix + "systemPath",
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)