Update DOCS

This commit is contained in:
Orlando M Guerreiro 2025-06-03 19:40:08 +01:00
parent d2bff4c062
commit 436a4e69a9
2 changed files with 28 additions and 1 deletions

View file

@ -13,11 +13,23 @@ npm install
npm run build
```
- Build and package JAR
- OR:Build and package JAR
```bash
mvnw -Pprod clean verify
```
- OR:Build and package JAR WITHOUT tests
```bash
mvnw -Pprod clean verify -DskipTests -Dmaven.test.skip=true
```
---
**B:** The result is a JAR generated in : target/
**C:** Things to validate
- In target/classes a static/ must exist, after the "Build front-end (Angular)"
- Check for BOOT-INF/classes/static dir in the generated JAR file

View file

@ -0,0 +1,15 @@
## ❓ Frequently Asked Questions
### Q: How to make a release?
**A:** To make a PROD release (not SNAPSHOT)
- Change the version in pom.xml (usually, remove the "-SNAPSHOT" suffix)
- Build JAR (see "How to build a PROD jar")
- Commit changes (the change to pom.xml)
- Make a TAG in GIT
- Change the version in pom.xml. Increment version and add "-SNAPSHOT" suffix
- Commit changes
---