Initial commit for resilient-core

This commit is contained in:
Orlando M Guerreiro 2025-06-17 10:37:54 +01:00
commit 49fc4b2983
2169 changed files with 175785 additions and 0 deletions

View file

@ -0,0 +1,35 @@
## ❓ Frequently Asked Questions
### Q: How to build a PROD jar?
**A:** The steps for a production JAR are:
- Open a command line, as Administrator
- Build front-end (Angular)
```bash
npm install
npm run build
```
- 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