diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml
new file mode 100644
index 00000000..ced130b7
--- /dev/null
+++ b/.github/workflows/javadoc.yml
@@ -0,0 +1,30 @@
+name: Maven Site
+
+on:
+ push:
+ branches: [ main ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: 17
+ # Given the fact that this is a multimodule project, build process will take long time so we activate caching
+ # To know more: https://maven.apache.org/extensions/maven-build-cache-extension/cache.html
+ cache: 'maven'
+ - name: Build Javadoc Site with Maven
+ #To see the full stack trace of the errors, re-run Maven with the -e switch.
+ #Re-run Maven using the -X switch to enable full debug logging.
+ # -B,--batch-mode Run in non-interactive (batch) mode (disables output color)
+ # To learn more about options: https://maven.apache.org/ref/3.6.3/maven-embedder/cli.html
+ run: |
+ mvn clean site -B -e -X --projects 'jsgenerator-core'
+ env:
+ MAVEN_SITE_GITHUB_OAUTH_TOKEN: ${{ secrets.MAVEN_SITE_GITHUB_OAUTH_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3ffbdabe..c438b884 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -31,7 +31,4 @@ jobs:
# -B,--batch-mode Run in non-interactive (batch) mode (disables output color)
# To learn more about options: https://maven.apache.org/ref/3.6.3/maven-embedder/cli.html
run: |
- mvn package -B -e -X
- mvn site -B -e -X --projects 'jsgenerator-core'
- env:
- MAVEN_SITE_GITHUB_OAUTH_TOKEN: ${{ secrets.MAVEN_SITE_GITHUB_OAUTH_TOKEN }}
+ mvn clean test -B -e -X
diff --git a/README.md b/README.md
index f1960fab..9c6cebeb 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@
[![Contributors](https://img.shields.io/github/contributors-anon/osscameroon/js-generator)](https://github.com/osscameroon/js-generator/graphs/contributors)
![Follow](https://img.shields.io/twitter/follow/osscameroon?style=social)
+# Status: UNDER DEVELOPMENT
# Table of Contents
- [About](#about)
@@ -117,16 +118,16 @@ mvn clean test
API Server
```shell
# After starting the server, visit http://localhost:8080
-mvn --projects jsgenerator-api spring-boot:run
+mvn --also-make --projects jsgenerator-api clean spring-boot:run
```
Command Line Interface (CLI)
```shell
# After reading the help, play out with different CLI options
-mvn --projects jsgenerator-cli spring-boot:run -Dspring-boot.run.arguments=--help
+mvn --also-make --projects jsgenerator-cli clean spring-boot:run -Dspring-boot.run.arguments=--help
# For example:
-mvn --projects :jsgenerator-cli spring-boot:run \
+mvn --also-make --projects :jsgenerator-cli clean spring-boot:run \
-Dspring-boot.run.arguments="--tty --inline '
I am a tea pot
'"
```
@@ -148,7 +149,7 @@ Do not hesitate to open an issue on this repository and/or create a pull request
In order to create a PR, just fork first.
-**[We started from the bottom 4 years ago](https://github.com/opensourcecameroon/jsGenerator), now we are here, we believe we will continue moving forward together 😊.**
+**[We started from the bottom 5 years ago](https://github.com/opensourcecameroon/jsGenerator), now we are here, we believe we will continue moving forward together 😊.**
Thanks for your commitment, we really appreciate!
Happy Coding! 😊🎉💯
diff --git a/illustrations/intellij-maven-runner-configuration.png b/illustrations/intellij-maven-runner-configuration.png
index 11a5d3b1..26f056ec 100644
Binary files a/illustrations/intellij-maven-runner-configuration.png and b/illustrations/intellij-maven-runner-configuration.png differ
diff --git a/jsgenerator-api/pom.xml b/jsgenerator-api/pom.xml
index a99f8eb0..b75b2287 100644
--- a/jsgenerator-api/pom.xml
+++ b/jsgenerator-api/pom.xml
@@ -20,6 +20,9 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ false
+
@@ -30,4 +33,4 @@
jsgenerator-slim-api
-
\ No newline at end of file
+
diff --git a/jsgenerator-cli/pom.xml b/jsgenerator-cli/pom.xml
index ef9c2d05..048b3a81 100644
--- a/jsgenerator-cli/pom.xml
+++ b/jsgenerator-cli/pom.xml
@@ -20,6 +20,9 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ false
+
@@ -30,4 +33,4 @@
jsgenerator-slim-cli
-
\ No newline at end of file
+
diff --git a/jsgenerator-desktop/pom.xml b/jsgenerator-desktop/pom.xml
index 01a555d9..0c7d9e6e 100644
--- a/jsgenerator-desktop/pom.xml
+++ b/jsgenerator-desktop/pom.xml
@@ -25,6 +25,11 @@
+
+ org.springframework.boot
+ spring-boot-starter
+
+
com.osscameroon
jsgenerator-core
@@ -180,4 +185,4 @@
-
\ No newline at end of file
+
diff --git a/jsgenerator-slim-api/src/main/resources/application.yaml b/jsgenerator-slim-api/src/main/resources/application.yaml
index af045141..e0593590 100644
--- a/jsgenerator-slim-api/src/main/resources/application.yaml
+++ b/jsgenerator-slim-api/src/main/resources/application.yaml
@@ -13,6 +13,8 @@ spring:
roles: ACTUATOR
application:
name: jsgenerator-api
+ banner:
+ location: classpath:/banner.txt
springdoc:
api-docs:
path: /openapi.yaml
diff --git a/jsgenerator-slim-api/src/main/resources/banner.txt b/jsgenerator-slim-api/src/main/resources/banner.txt
new file mode 100644
index 00000000..c6853b86
--- /dev/null
+++ b/jsgenerator-slim-api/src/main/resources/banner.txt
@@ -0,0 +1,9 @@
+
+ _ _____ _____ ______ _ _ ______ _____ _______ ____ _____ _____ _____
+ | |/ ____|/ ____| ____| \ | | ____| __ \ /\|__ __/ __ \| __ \ /\ | __ \_ _|
+ | | (___ | | __| |__ | \| | |__ | |__) | / \ | | | | | | |__) |_____ / \ | |__) || |
+ _ | |\___ \| | |_ | __| | . ` | __| | _ / / /\ \ | | | | | | _ /______/ /\ \ | ___/ | |
+ | |__| |____) | |__| | |____| |\ | |____| | \ \ / ____ \| | | |__| | | \ \ / ____ \| | _| |_
+ \____/|_____/ \_____|______|_| \_|______|_| \_\/_/ \_\_| \____/|_| \_\ /_/ \_\_| |_____|
+
+
diff --git a/jsgenerator-slim-cli/src/main/resources/application.yaml b/jsgenerator-slim-cli/src/main/resources/application.yaml
index 0ef684f5..2a65d00a 100644
--- a/jsgenerator-slim-cli/src/main/resources/application.yaml
+++ b/jsgenerator-slim-cli/src/main/resources/application.yaml
@@ -2,5 +2,5 @@ logging:
level:
root: error
spring:
- main:
- banner-mode: off
+ banner:
+ location: classpath:/banner.txt
diff --git a/jsgenerator-slim-cli/src/main/resources/banner.txt b/jsgenerator-slim-cli/src/main/resources/banner.txt
new file mode 100644
index 00000000..8fa98417
--- /dev/null
+++ b/jsgenerator-slim-cli/src/main/resources/banner.txt
@@ -0,0 +1,9 @@
+
+ _ _____ _____ ______ _ _ ______ _____ _______ ____ _____ _____ _ _____
+ | |/ ____|/ ____| ____| \ | | ____| __ \ /\|__ __/ __ \| __ \ / ____| | |_ _|
+ | | (___ | | __| |__ | \| | |__ | |__) | / \ | | | | | | |__) |_____| | | | | |
+ _ | |\___ \| | |_ | __| | . ` | __| | _ / / /\ \ | | | | | | _ /______| | | | | |
+ | |__| |____) | |__| | |____| |\ | |____| | \ \ / ____ \| | | |__| | | \ \ | |____| |____ _| |_
+ \____/|_____/ \_____|______|_| \_|______|_| \_\/_/ \_\_| \____/|_| \_\ \_____|______|_____|
+
+
diff --git a/pom.xml b/pom.xml
index d1058ff7..55c533e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,8 +22,9 @@
jsgenerator
- Generates JavaScript code from HTML or Custom tags
-
+ Generates JavaScript from HTML
+ 2018
+
https://github.com/osscameroon/js-generator
@@ -139,6 +140,13 @@
jacoco-maven-plugin
0.8.7
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+ true
+
+