Created
July 3, 2012 12:42
-
-
Save albertoaflores/3039515 to your computer and use it in GitHub Desktop.
Sample pom.xml showing configuration of the surefire maven plugin using SSL (and debug flags)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<systemPropertiesVariables> | |
<property> | |
<name>ssl.debug</name> | |
<value>true</value> | |
</property> | |
<property> | |
<name>javax.net.debug</name> | |
<value>ssl,handshake,verbose</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.keyStore</name> | |
<value>YOUR_KEYSTORE_FILE</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.keyStorePassword</name> | |
<value>YOUR_KEYSTORE_PASSWORD</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.keyStoreType</name> | |
<value>YOUR_KEYSTORE_TYPE</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.trustStore</name> | |
<value>YOUR_TRUSTSTORE_FILE</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.trustStorePassword</name> | |
<value>YOUR_TRUSTSTORE_PASSWORD</value> | |
</property> | |
<property> | |
<name>javax.net.ssl.trustStoreType</name> | |
<value>YOUR_TRUSTSTORE_TYPE</value> | |
</property> | |
</systemPropertiesVariables> | |
</configuration> | |
</plugin> | |
... |
<systemPropertyVariables>
<propertyName>propertyValue</propertyName>
<buildDirectory>${project.build.directory}</buildDirectory>
[...]
</systemPropertyVariables>
</configuration>```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
deprecated now