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") {
modules = [
"maven-core",
"maven-model-builder",
"maven-plugin-api",
"maven-resolver-provider",
"maven-settings-builder"
"maven-resolver-provider"
]
}
}

@ -30,7 +30,6 @@ import java.util.Set;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.DefaultArtifact;
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.ArtifactResolutionResult;
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.
*/
@SuppressWarnings("deprecation")
@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.
*/
@SuppressWarnings("deprecation")
@Parameter(defaultValue = "${project.remoteArtifactRepositories}", required = true, readonly = true)
private List<ArtifactRepository> remoteRepositories;
private List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories;
@Component
private RepositorySystem repositorySystem;

Loading…
Cancel
Save