Trivial application to retrieve bibliographic information from providers
Build
$ ./gradlew -q clean build
Run boot app from gradle
$ ./gradlew -q bootRun
Debug boot app from gradle
$ ./gradlew -q bootRun -Pdebug
then attach debugger to port 8000.
Build war and run
$ ./gradlew -q clean bootWar $ java -jar build/libs/bookproject-boot.war
Note
|
To skip the tests pass -x test to gradle
|
The application uses the H2 database at its persistence layer. Before starting the application an H2 database in server mode must be running.
Start H2
$ java -cp h2.jar org.h2.tools.Server
The bundled application can be deployed on a Tomcat, through the cargo plugin:
$ ./gradlew clean war cargoReDeployRemote
Note
|
Tomcat and an H2 database must be up and running. Tomcat deployer configuration is in the root build.gradle .
|
Test report
Using this custom task, an aggregated test report fromm all projects is generated in root project, under build\reports\tests
.
$ ./gradlew -q testReport
Generate Javadoc
Using this custom task, aggregated Javadoc from all project is generated in root project, under build/docs/javadoc
.
$ ./gradlew -q alljavadoc