Update DOCS
This commit is contained in:
parent
d2bff4c062
commit
436a4e69a9
2 changed files with 28 additions and 1 deletions
|
@ -13,11 +13,23 @@ npm install
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
- Build and package JAR
|
- OR:Build and package JAR
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mvnw -Pprod clean verify
|
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
|
15
docs/faqs/How to make a release.md
Normal file
15
docs/faqs/How to make a release.md
Normal 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
|
||||||
|
|
||||||
|
---
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue