KEYCLOAK-12950 Use maven-plugin to configure shrinkwrap resolver
This commit is contained in:
parent
42956bdfb7
commit
1bb238d20f
2 changed files with 6 additions and 2 deletions
|
@ -349,8 +349,7 @@ public class AuthServerTestEnricher {
|
|||
public void deployProviders(@Observes(precedence = -1) AfterStart event) throws DeploymentException {
|
||||
if (isAuthServerRemote() && currentContainerName.contains("auth-server")) {
|
||||
this.testsuiteProvidersArchive = ShrinkWrap.create(ZipImporter.class, "testsuiteProviders.jar")
|
||||
.importFrom(Maven.resolver()
|
||||
.loadPomFromFile("pom.xml")
|
||||
.importFrom(Maven.configureResolverViaPlugin()
|
||||
.resolve("org.keycloak.testsuite:integration-arquillian-testsuite-providers")
|
||||
.withoutTransitivity()
|
||||
.asSingleFile()
|
||||
|
|
|
@ -54,6 +54,11 @@
|
|||
<artifactId>commons-csv</artifactId>
|
||||
<version>1.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
Loading…
Reference in a new issue