- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for alternatePomFile (0.15 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
} } protected LayeredMavenOptions(List<O> options) { super(options); } @Override public Optional<String> alternatePomFile() { return returnFirstPresentOrEmpty(MavenOptions::alternatePomFile); } @Override public Optional<Boolean> offline() { return returnFirstPresentOrEmpty(MavenOptions::offline); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
protected Path determinePom(C context) { Path current = context.invokerRequest.cwd(); if (context.invokerRequest.options().alternatePomFile().isPresent()) { current = context.cwdResolver.apply( context.invokerRequest.options().alternatePomFile().get()); } if (context.modelProcessor != null) { return context.modelProcessor.locateExistingPom(current);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java
} catch (InterpolationException e) { throw new IllegalArgumentException("Could not interpolate CommonsCliOptions", e); } } @Override public Optional<String> alternatePomFile() { if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) { return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE)); } return Optional.empty(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
/** * Returns the path to an alternate POM file. * * @return an {@link Optional} containing the path to the alternate POM file, or empty if not specified */ @Nonnull Optional<String> alternatePomFile(); /** * Indicates whether Maven should operate in offline mode. * * @return an {@link Optional} containing true if offline mode is enabled, false if disabled, or empty if not specified */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 8.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
String alternatePomFile = null; if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) { alternatePomFile = commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE); } File current = baseDirectory; if (alternatePomFile != null) { current = resolveFile(new File(alternatePomFile), workingDirectory); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)