KEYCLOAK-12051 Exclude com.beaust:jcommander dependency from com.google.zxing:javase

This commit is contained in:
stianst 2019-11-14 14:41:48 +01:00 committed by Bruno Oliveira da Silva
parent 3c3667d81e
commit 623f347263
2 changed files with 8 additions and 4 deletions

View file

@ -558,6 +558,12 @@
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>${google.zxing.version}</version>
<exclusions>
<exclusion>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

View file

@ -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<String> 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<String> getGroups(String username) {
return Lists.newArrayList(sssdConfig.getStringArray("user." + username + ".groups"));
return Arrays.asList(sssdConfig.getStringArray("user." + username + ".groups"));
}
}