git master repository to clone and build all SWB Packages and dependencies
To clone this repo use:
git clone --recursive https://github.com/SemanticWebBuilder/SWBBundle.git
We'll try to have submodules always to head, but it might get behind
To update to head commit:
git submodule update --remote
All submodules will be checked out in detached HEAD state. To attach all submodules to a branch just type:
git submodule foreach 'git checkout <branchname>'
Where <branchname> stands for the name of the branch to checkout.
Project's POM contains several profiles to build SWB. If you want to build SWB using the default profile just type:
cd SWBBundle
mvn package
This profile uses local checked out projects to package SWB.
If you want to build SWB using jitpack to resolve dependencies based on master branch for each submodule just type:
cd SWBBundle
mvn package -Djitpack=true
If you want to build SWB using a branch tag on each submodule (tag must exist in each repository) just type:
cd SWBBundle
mvn package -Dbranchtag=<tagname>
Where <tagname> stands for the name of the branch to use. This profile uses jitpack to resolve dependencies.
Whatever option you choose, the application's WAR will be generated in folder SWB/target.
To download and build the last version:
git clone --recursive https://github.com/SemanticWebBuilder/SWBBundle.git
cd SWBBundle
git submodule update --remote
git checkout 5.0
git submodule foreach 'git checkout 5.0'
mvn package