-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.sh
executable file
·31 lines (24 loc) · 899 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#
# Build quickly
#
# Please change the JAVA_HOME according to the current system settings
# Set java home on Ubuntu LTS Linux
#export JAVA_HOME=/usr/lib/jvm/default-java
#export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
# Set java home on openSUSE Linux
#export JAVA_HOME=/usr/lib64/jvm/java
# Set java home on MacOS
#JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.3.1.jdk/Contents/Home
# Set java home on Windows
# - Reference: https://www.theserverside.com/feature/How-to-set-JAVA_HOME-in-Windows-and-echo-the-result
# - Example value: JAVA_HOME=C:\data\tools\jdk
java -version
mvn clean
mvn package
mvn install
mvn dependency:tree
mvn versions:display-dependency-updates
#mvn source:aggregate javadoc:aggregate javadoc:aggregate-jar pdf:aggregate checkstyle:checkstyle-aggregate pmd:aggregate-pmd site:site site:deploy
#mvn jdeps:jdkinternals
#mvn spotbugs:gui