- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for rootDirectory (0.06 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
throw new IllegalArgumentException("Specified file does not exists (" + file + ")"); } } // maven.config; if exists Path mavenConfig = context.rootDirectory != null ? context.rootDirectory.resolve(".mvn/maven.config") : null; if (mavenConfig != null && Files.isRegularFile(mavenConfig)) { result.add(parseMavenConfigOptions(mavenConfig)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 14 12:35:44 UTC 2025 - 4.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
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); } return null; } @Nonnull
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
Map<String, String> extra = new HashMap<>(); extra.put("session.topDirectory", topDirectory.toString()); if (rootDirectory != null) { extra.put("session.rootDirectory", rootDirectory.toString()); } return extra; } } @Override public InvokerRequest parseInvocation(ParserRequest parserRequest) {
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
// This is used to compute {@code session.rootDirectory} but all {@code project.rootDirectory} // properties will be computed through the RootLocator found in the container. RootLocator rootLocator = ServiceLoader.load(RootLocator.class).iterator().next(); cliRequest.rootDirectory = rootLocator.findRoot(topDirectory); //Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user")); when(request.topDirectory()).thenReturn(workingDirectory); when(request.rootDirectory()).thenReturn(Optional.empty()); when(request.userProperties()).thenReturn(Map.of()); when(request.systemProperties()).thenReturn(Map.of()); when(request.options()).thenReturn(Optional.ofNullable(options));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
request.setTopDirectory(context.invokerRequest.topDirectory()); if (context.invokerRequest.rootDirectory().isPresent()) { request.setMultiModuleProjectDirectory( context.invokerRequest.rootDirectory().get().toFile()); request.setRootDirectory(context.invokerRequest.rootDirectory().get()); } request.addPluginGroup("org.apache.maven.plugins");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
break; } } return packaged; } private Path relativizeOutputFile(final Path outputFile) { Path rootDirectory = session.getRequest().getRootDirectory(); return rootDirectory.relativize(outputFile); } /** * Tries to resolve the specified artifact from the artifacts of the given project. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
MavenProject project = projectIndex.get(r.getEffectiveModel().getId()); Path rootDirectory = rootLocator.findRoot(pom.getParentFile().toPath()); project.setRootDirectory(rootDirectory); project.setFile(pom); project.setExecutionRoot(pom.equals(pomFile));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
} /** * Returns a boolean indicating if the project is the top level project for * this reactor build. The top level project may be different from the * {@code rootDirectory}, especially if a subtree of the project is being * built, either because Maven has been launched in a subdirectory or using * a {@code -f} option. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
<p>The following properties are supported in expressions:</p> <ul> <li>`project.basedir`: The project directory</li> <li>`project.rootDirectory`: The root directory of the project</li> <li>`project.artifactId`: The artifactId of the project</li> <li>`project.packaging`: The packaging of the project</li> <li>user properties</li>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 03:07:35 UTC 2025 - 133.3K bytes - Viewed (0)