KEYCLOAK-12051 Exclude com.beaust:jcommander dependency from com.google.zxing:javase
This commit is contained in:
parent
3c3667d81e
commit
623f347263
2 changed files with 8 additions and 4 deletions
6
pom.xml
6
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue