mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-29 01:21:52 +00:00
Maven 4 beta-2 (#998)
And fix the build w/ smaller cleanups, plugin updates and backport of `-itr`, `-sadp`. Changes: * Maven 4 beta-2 (staged, on vote) * Maven Wrapper 3.3.1 + script updates * maven-plugin-tools 3.13.0 * buildhelper-maven-plugin 3.6.0 * graalvm plugin 0.10.2 * provisio 1.0.25 * exec-maven-plugin 3.3.0 * backport `-itr` and `-sadp` (Maven CLI)
This commit is contained in:
@@ -1141,6 +1141,16 @@ public class DaemonMavenCli implements DaemonCli {
|
||||
request.setMakeBehavior(determineMakeBehavior(commandLine));
|
||||
request.setCacheNotFound(true);
|
||||
request.setCacheTransferError(false);
|
||||
boolean strictArtifactDescriptorPolicy = commandLine.hasOption(CLIManager.STRICT_ARTIFACT_DESCRIPTOR_POLICY)
|
||||
&& Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.STRICT_ARTIFACT_DESCRIPTOR_POLICY));
|
||||
if (strictArtifactDescriptorPolicy) {
|
||||
request.setIgnoreMissingArtifactDescriptor(false);
|
||||
request.setIgnoreInvalidArtifactDescriptor(false);
|
||||
} else {
|
||||
request.setIgnoreMissingArtifactDescriptor(true);
|
||||
request.setIgnoreInvalidArtifactDescriptor(true);
|
||||
}
|
||||
request.setIgnoreTransitiveRepositories(commandLine.hasOption(CLIManager.IGNORE_TRANSITIVE_REPOSITORIES));
|
||||
|
||||
performProjectActivation(commandLine, request.getProjectActivation());
|
||||
performProfileActivation(commandLine, request.getProfileActivation());
|
||||
|
Reference in New Issue
Block a user