https://github.com/bonitasoft/bonita-theme-archetype
A Maven archetype to create Bonita theme project
https://github.com/bonitasoft/bonita-theme-archetype
archetype bonita css delivery-central hacktoberfest lifecycle-independent published-full scss theme
Last synced: 5 months ago
JSON representation
A Maven archetype to create Bonita theme project
- Host: GitHub
- URL: https://github.com/bonitasoft/bonita-theme-archetype
- Owner: bonitasoft
- License: gpl-2.0
- Created: 2020-08-26T08:20:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-13T12:28:42.000Z (10 months ago)
- Last Synced: 2025-08-13T14:30:41.354Z (10 months ago)
- Topics: archetype, bonita, css, delivery-central, hacktoberfest, lifecycle-independent, published-full, scss, theme
- Language: HTML
- Homepage:
- Size: 255 KB
- Stars: 1
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/bonitasoft/bonita-theme-archetype/actions?query=workflow%3ABuild)
[](https://github.com/bonitasoft/bonita-theme-archetype/releases)
[](https://search.maven.org/search?q=g:%22org.bonitasoft.archetypes%22%20AND%20a:%22bonita-theme-archetype%22)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
# bonita-theme-archetype
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](https://github.com/eirslett/frontend-maven-plugin) to setup node and npm binaries
* [node-sass](https://www.npmjs.com/package/node-sass) and [bootstrap-sass](https://www.npmjs.com/package/bootstrap-sass) to create your Bootstrap 3 theme using [sass](https://sass-lang.com/)
## How to build the archetype
```
git clone https://github.com/bonitasoft/bonita-theme-archetype.git
cd bonita-theme-archetype
./mvnw clean install
```
## How to use the archetype
```
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"
```
### Optional archetype parameters
| 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](https://github.com/takari/maven-wrapper)|