This file contains hidden or 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
// Update Identity Extensions | |
mvn versions:update-properties -Dincludes=org.wso2.carbon.identity.* -DgenerateBackupPoms=false | |
// Update Identity Connectors packed by default | |
mvn versions:update-properties -Dincludes=org.wso2.carbon.extension.identity.* | |
// Run in release profile with signing disabled | |
mvn clean install -P wso2-release -Dgpg.skip |
This file contains hidden or 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
private static OkHttpClient getUnsafeOkHttpClient() { | |
try { | |
// Create a trust manager that does not validate certificate chains | |
final TrustManager[] trustAllCerts = new TrustManager[]{ | |
new X509TrustManager() { | |
@Override | |
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, | |
String authType) throws CertificateException { | |
} |
This file contains hidden or 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
echo "building framework" | |
cd identity-framework | |
mvn clean install -Dmaven.test.skip=true | |
if [ $? -ne 0 ] | |
then | |
cd .. | |
echo Build failed at identity-framework | |
notify-send "Build failed at identity-framework" | |
exit 1 | |
else |