Building WSO2 Identity Server 2.0 from source

Recommended maven version is 2.1.0 and set MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"

Downlaod source from https://wso2.org/repos/wso2/branches/carbon-platform/2.0 and build WSS4J/Axis2/Transports/Sandesha2/Savan/Rampart/Synapse in the given order.

mvn clean install

Download source for carbon-orbit from https://wso2.org/repos/wso2/trunk/carbon-orbit;

mvn clean install

Download source for carbon-core from https://wso2.org/repos/wso2/trunk/carbon;

mvn clean install

Download source for carbon-components from https://wso2.org/repos/wso2/trunk/carbon-components;

mvn clean install -Dproduct=is

Download source for Identity Server product from https://wso2.org/repos/wso2/trunk/solutions/identity;

mvn clean install

You can find the binary distribution at [https://wso2.org/repos/wso2/trunk/solutions/identity]/modules/distribution/target