This code generator project which is a Java backend system exposes several JBoss Forge commands using a REST endpoint. The backend runs within a WildFly Swarm container and is called from an Angularjs 2 Front application responsible to collect from a end user the information needed to generate a Zip file containing an Apache Maven project populated for an Eclipse Vert.x, Spring Boot or WildFly Swarm container.
To execute this project simply do a maven build:
$ mvn package -s configuration/settings.xml
Remark : This project requires that you compile this github project hosting the Obsidian JBoss Addon.
And then execute the fat-jar in the target folder with:
$ java -jar target/generator-swarm.jar
Then follow the front-end ReadMe to run the front-end.
Run with the -DdevMode=true
flag to auto-reload SNAPSHOT addons that are installed in your local maven repository. The changes will last as long as the container is alive.
Make sure to rebuild the backend if for some reason you need to stop the container:
java -DdevMode=true -jar target/generator-swarm.jar