diff --git a/pom.xml b/pom.xml index f24bf27bcc..7d59e98a75 100755 --- a/pom.xml +++ b/pom.xml @@ -558,6 +558,12 @@ com.google.zxing javase ${google.zxing.version} + + + com.beust + jcommander + + diff --git a/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java b/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java index f0be67fce7..af5b6d114c 100644 --- a/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java +++ b/testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java @@ -32,8 +32,6 @@ import org.keycloak.testsuite.pages.AccountUpdateProfilePage; import org.keycloak.testsuite.pages.LoginPage; import org.keycloak.testsuite.util.LDAPTestConfiguration; -import com.beust.jcommander.internal.Lists; - public class SSSDTest extends AbstractKeycloakTest { private static final Logger log = Logger.getLogger(SSSDTest.class); @@ -224,7 +222,7 @@ public class SSSDTest extends AbstractKeycloakTest { } private List getUsernames() { - return Lists.newArrayList(sssdConfig.getStringArray("usernames")); + return Arrays.asList(sssdConfig.getStringArray("usernames")); } private String getPassword(String username) { @@ -232,6 +230,6 @@ public class SSSDTest extends AbstractKeycloakTest { } private List getGroups(String username) { - return Lists.newArrayList(sssdConfig.getStringArray("user." + username + ".groups")); + return Arrays.asList(sssdConfig.getStringArray("user." + username + ".groups")); } }