This project contains a maven archetype, which allow to easily setup a Bonita theme project.
A theme project is node project wrapped in a maven project that uses:
- maven-frontend-plugin to setup node and npm binaries
- node-sass and bootstrap-sass to create your Bootstrap 3 theme using sass
git clone https://github.com/bonitasoft/bonita-theme-archetype.git
cd bonita-theme-archetype
./mvnw clean install
mvn archetype:generate \
-DarchetypeGroupId=org.bonitasoft.archetypes \
-DarchetypeArtifactId=bonita-theme-archetype \
-DgroupId=org.company.theme \
-DartifactId=my-theme \
-Dversion=0.0.1-SNAPSHOT \
-Dname=myTheme \
-DdisplayName="My Theme"
Parameter | Required | Default value | Description |
---|---|---|---|
-Ddescription | false | Describe your project here | Description of the theme |
-Dwrapper | false | true | If set to true, project will setup a maven wrapper |