Upgrade to Maven 3.9.4

Closes gh-36717
pull/36766/head
Andy Wilkinson 1 year ago
parent 63a94f762a
commit 82205ba337

@ -87,12 +87,13 @@ bom {
] ]
} }
} }
library("Maven", "3.6.3") { library("Maven", "3.9.4") {
group("org.apache.maven") { group("org.apache.maven") {
modules = [ modules = [
"maven-core",
"maven-model-builder",
"maven-plugin-api", "maven-plugin-api",
"maven-resolver-provider", "maven-resolver-provider"
"maven-settings-builder"
] ]
} }
} }

@ -30,7 +30,6 @@ import java.util.Set;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.artifact.DefaultArtifact;
import org.apache.maven.artifact.handler.DefaultArtifactHandler; import org.apache.maven.artifact.handler.DefaultArtifactHandler;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.resolver.ArtifactResolutionRequest; import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
import org.apache.maven.artifact.resolver.ArtifactResolutionResult; import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
import org.apache.maven.artifact.resolver.ResolutionErrorHandler; import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
@ -101,14 +100,16 @@ public class ProcessTestAotMojo extends AbstractAotMojo {
/** /**
* Local artifact repository used to resolve JUnit platform launcher jars. * Local artifact repository used to resolve JUnit platform launcher jars.
*/ */
@SuppressWarnings("deprecation")
@Parameter(defaultValue = "${localRepository}", required = true, readonly = true) @Parameter(defaultValue = "${localRepository}", required = true, readonly = true)
private ArtifactRepository localRepository; private org.apache.maven.artifact.repository.ArtifactRepository localRepository;
/** /**
* Remote artifact repositories used to resolve JUnit platform launcher jars. * Remote artifact repositories used to resolve JUnit platform launcher jars.
*/ */
@SuppressWarnings("deprecation")
@Parameter(defaultValue = "${project.remoteArtifactRepositories}", required = true, readonly = true) @Parameter(defaultValue = "${project.remoteArtifactRepositories}", required = true, readonly = true)
private List<ArtifactRepository> remoteRepositories; private List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories;
@Component @Component
private RepositorySystem repositorySystem; private RepositorySystem repositorySystem;

Loading…
Cancel
Save