]
Radim Vansa commented on ISPN-7880:
-----------------------------------
Hi Dan, I am getting a warning since there are two antrun plugins in
{{infinispan-cachestore-remote}} - could you merge those to have just two executions?
The HotRod server build fails if test keys already exist
--------------------------------------------------------
Key: ISPN-7880
URL:
https://issues.jboss.org/browse/ISPN-7880
Project: Infinispan
Issue Type: Bug
Components: Build process
Affects Versions: 9.0.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.1.0.Alpha1
Reproducible by invoking `mvn install` twice (without `clean`):
{noformat}
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (password_server) @
infinispan-server-hotrod ---
[INFO] /bin/sh -c cd /home/dan/Work/infinispan/server/hotrod &&
/home/dan/Tools/jdk1.8.0_121/jre/../bin/keytool -genkeypair -v -keystore
/home/dan/Work/infinispan/server/hotrod/target/test-classes/password_server_keystore.jks
-storepass secret -alias default -dname 'CN=HotRod_1,OU=Infinispan,O=JBoss,L=Red
Hat,ST=World,C=WW' -keypass secret -validity 365 -keyalg RSA -keysize 2048
[INFO] keytool error: java.lang.Exception: Key pair not generated, alias <default>
already exists
[INFO] java.lang.Exception: Key pair not generated, alias <default> already exists
[INFO] at sun.security.tools.keytool.Main.doGenKeyPair(Main.java:1597)
[INFO] at sun.security.tools.keytool.Main.doCommands(Main.java:966)
[INFO] at sun.security.tools.keytool.Main.run(Main.java:343)
[INFO] at sun.security.tools.keytool.Main.main(Main.java:336)
{noformat}