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 {
|
public void deployProviders(@Observes(precedence = -1) AfterStart event) throws DeploymentException {
|
||||||
if (isAuthServerRemote() && currentContainerName.contains("auth-server")) {
|
if (isAuthServerRemote() && currentContainerName.contains("auth-server")) {
|
||||||
this.testsuiteProvidersArchive = ShrinkWrap.create(ZipImporter.class, "testsuiteProviders.jar")
|
this.testsuiteProvidersArchive = ShrinkWrap.create(ZipImporter.class, "testsuiteProviders.jar")
|
||||||
.importFrom(Maven.resolver()
|
.importFrom(Maven.configureResolverViaPlugin()
|
||||||
.loadPomFromFile("pom.xml")
|
|
||||||
.resolve("org.keycloak.testsuite:integration-arquillian-testsuite-providers")
|
.resolve("org.keycloak.testsuite:integration-arquillian-testsuite-providers")
|
||||||
.withoutTransitivity()
|
.withoutTransitivity()
|
||||||
.asSingleFile()
|
.asSingleFile()
|
||||||
|
|
|
@ -54,6 +54,11 @@
|
||||||
<artifactId>commons-csv</artifactId>
|
<artifactId>commons-csv</artifactId>
|
||||||
<version>1.2</version>
|
<version>1.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak.testsuite</groupId>
|
||||||
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
Loading…
Reference in a new issue