The main Git repository is hosted at the following location: https://git-wip-us.apache.org/repos/asf/stratos.git. Apache Stratos, welcomes you all to contribute by checking out Apache Stratos source from Git, building the products used by Apache Stratos and making changes. If you are a non-committer, for more information on contributing, see Contributing as a Non-committer. If you are an Apache Stratos committer, you will be able to directly commit your changes after following the instructions below:
Oracle Java SE Development Kit (JDK), Apache Maven and Git Client are the basic prerequisites that are required to build from source. For more information on the product versions required, see Prerequisites.
Checkout the source from Apache Stratos remote repository to a folder of your choice.
git clone https://git-wip-us.apache.org/repos/asf/stratos.git <LOCAL_FOLDER_NAME>
For example: git clone https://git-wip-us.apache.org/repos/asf/stratos.git myLocalRepo
cd <LOCAL_FOLDER_NAME>/<STRATOS_SOURCE_HOME>
cd myLocalRepo/<STRATOS_SOURCE_HOME>
Use Maven to build the source.
Command | Description |
---|---|
mvn clean install | To build the source distribution of the release. |
mvn clean install -Dmaven.test.skip=true | To build source distribution, without running any of the unit tests. |
mvn clean install -Dmaven.test.skip=true -o | To build source distribution, without running any of the unit tests, in offline mode. This can be done only if you've already built the source at least once. |