- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for toAbsolutePath (3.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
public abstract class MavenInvokerTestSupport { static { System.setProperty( "library.jline.path", Path.of("target/dependency/org/jline/nativ").toAbsolutePath().toString()); } public static final String POM_STRING = """ <?xml version="1.0" encoding="UTF-8"?>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
* * @param path The file, must not be {@code null}. * @since 4.0.0 */ public FileSource(Path path) { this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath(); this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 3K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
Process p = Runtime.getRuntime().exec(new String[] { Paths.get(System.getProperty("java.home"), "bin/java").toString(), "-jar", file.toAbsolutePath().toString(), "5.32", "5.27" }); try { assertEquals(0, p.waitFor(), "Unexpected exit code");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
System.exit(2); } Path propsPath = Paths.get("gradle.properties"); if (!Files.exists(propsPath)) { System.err.println("gradle.properties not found at: " + propsPath.toAbsolutePath()); System.exit(2); } Map<String, String> props = readProperties(propsPath); List<String> missing = new ArrayList<>(); List<String> empty = new ArrayList<>();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
} @Override public String findTool(String toolName) { Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize()); if (toRet != null) { return toRet.toAbsolutePath().toString(); } return null; } private static Path findTool(String toolName, Path installDir) { Path bin = installDir.resolve("bin"); // NOI18NCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else { throw new MisconfiguredToolchainException( "Non-existing JDK home configuration at " + normal.toAbsolutePath()); } return jtc; } @Override public ToolchainPrivate createDefaultToolchain() { // not sure it's necessary to provide a default toolchain here.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
Model model = builder.build(session, project, src); write(model, tgt); } private void deferDeleteFile(Path generatedFile) { toDelete.add(generatedFile.toAbsolutePath()); } @PreDestroy private void doDeleteFiles() { for (Path file : toDelete) { try { Files.delete(file); } catch (IOException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
str = str.substring(1, length - 1); } return str; } @Nonnull public static Path getCanonicalPath(Path path) { requireNonNull(path, "path"); return path.toAbsolutePath().normalize(); } @Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0)