Initial commit for resilient-core
This commit is contained in:
commit
49fc4b2983
2169 changed files with 175785 additions and 0 deletions
35
docs/faqs/How to build a PROD jar.md
Normal file
35
docs/faqs/How to build a PROD jar.md
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue