You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -401,11 +401,11 @@ build errors due to incompatible versions of `Node.js` tooling installed on your
401
401
402
402
### Preparing Maven
403
403
404
-
Make sure that you have Maven installed.
404
+
This project includes Maven Wrapper, so you don't need to install Maven manually. Just use `./mvnw` (or `mvnw.cmd` on Windows) instead of `mvn`. The wrapper automatically downloads the correct Maven version (3.9.6) on first run.
405
405
406
-
$ mvn --version
406
+
If you prefer using your own Maven installation:
407
407
408
-
If this command fails with an error, you do not have Maven installed.
408
+
$ mvn --version
409
409
410
410
Please install Maven using your favorite package manager (like [Homebrew](https://brew.sh/)) or from
411
411
official [Maven binaries](https://maven.apache.org/install.html)
@@ -423,7 +423,11 @@ When building everything from scratch the build executes following steps:
423
423
424
424
You can do all of this with one single command:
425
425
426
-
$ mvn package
426
+
$ ./mvnw package
427
+
428
+
Or on Windows:
429
+
430
+
> mvnw.cmd package
427
431
428
432
The whole process takes up to five minutes (time to grab some coffee!)
429
433
@@ -434,7 +438,7 @@ When the build is finished you should see the generated website in the `public`
434
438
When rebuilding the website you can optimize the build process as some of the steps are only required for a fresh
435
439
build from scratch. You can skip the ui theme rendering (unless you have changes in the theme itself).
436
440
437
-
$ mvn package -Dskip.theme
441
+
$ ./mvnw package -Dskip.theme
438
442
439
443
This should save you some minutes in the build process. You can find the updated website content in the `public` directory.
440
444
@@ -445,7 +449,7 @@ When rebuilding the website the process uses some cached content (e.g. the fetch
445
449
If you want to start from scratch for some reason you can simply add the `clean` operation to the build which removes
446
450
all generated sources in the project first.
447
451
448
-
$ mvn clean package
452
+
$ ./mvnw clean package
449
453
450
454
Of course this then takes some more time than an optimized rebuild (time to grab another coffee!).
0 commit comments