- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for findRoot (0.05 sec)
-
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) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @Test public void findRootProjectWithAttribute() { Path test = Paths.get("src/test/projects/root-attribute"); assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child"))); } @Test public void testPropertiesInterpolation() throws Exception { FileSystem fs = Jimfs.newFileSystem(Configuration.windows());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
.build(); if (pomFile != null) { project.setRootDirectory(rootLocator.findRoot(pomFile.getParent())); } ModelBuilderResult result; try { result = modelBuilderSession.build(request);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} } return getCanonicalPath(topDirectory); } @Nullable protected Path getRootDirectory(LocalContext context) { return CliUtils.findRoot(context.topDirectory); } protected Map<String, String> populateSystemProperties(LocalContext context) { Properties systemProperties = new Properties();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:39:11 UTC 2025 - 25.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
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/ToolchainManagerFactory.java
@Override public String getType() { return delegate.getType(); } @Override public String findTool(String toolName) { return delegate.findTool(toolName); } @Override public org.apache.maven.api.toolchain.ToolchainModel getModel() { return delegate.getModel().getDelegate(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 31 10:58:52 UTC 2025 - 11K bytes - Viewed (0)