- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for findTool (0.18 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
@Override public String findTool(String toolName) { return null; } }; } private DefaultToolchain newDefaultToolchain(ToolchainModel model, String type) { return new DefaultToolchain(model, type, logger) { @Override public String findTool(String toolName) { return null; } };Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
return "JDK[" + getJavaHome() + "]"; } @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"); // NOI18N
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/Toolchain.java
* Gets the platform tool executable. * * @param toolName the tool platform independent tool name. * @return file representing the tool executable, or null if the tool can not be found */ String findTool(String toolName);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java
* Gets the platform tool executable. * * @param toolName the tool platform independent tool name * @return file representing the tool executable, or null if the tool cannot be found */ String findTool(String toolName); /** * Let the toolchain decide if it matches requirements defined * in the toolchain plugin configuration. * * @param requirements key value pair, may not be {@code null}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java
@Nonnull default Path findMandatoryRoot(Path basedir) { Path rootDirectory = findRoot(basedir); if (rootDirectory == null) { throw new IllegalStateException(getNoRootMessage()); } return rootDirectory; } @Nullable default Path findRoot(Path basedir) { Path rootDirectory = basedir;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
case ERROR -> Logger.LEVEL_ERROR; }; } @Nullable public static Path findRoot(Path topDirectory) { requireNonNull(topDirectory, "topDirectory"); Path rootDirectory = ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory); if (rootDirectory != null) { return getCanonicalPath(rootDirectory); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
.setPathTranslator(new DefaultPathTranslator()) .setRootLocator(new DefaultRootLocator() { @Override public Path findRoot(Path basedir) { return basedir; } })); context.setProjectDirectory(tempDir.toFile());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.2K bytes - Viewed (0)