-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.txt
55 lines (47 loc) · 5.68 KB
/
build.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
cache use redis
db use mysql
event bus use rabbit mq
#skip test
https://www.cnblogs.com/three-fighter/p/13996864.html
# mkdir build && unzip ./lib/maven3.zip && mv maven3 ./build
# JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64/
# mvn clean
java \
-Dmaven.multiModuleProjectDirectory=. \
-Djansi.passthrough=true \
-Dmaven.home=./build/maven3 \
-Dclassworlds.conf=./lib/m2.conf \
-Dmaven.test.skip=true \
-Dfile.encoding=UTF-8 \
-Dsun.stdout.encoding=UTF-8 \
-Dsun.stderr.encoding=UTF-8 \
-classpath ./lib/plexus-classworlds.license:./lib/plexus-classworlds-2.6.0.jar \
org.codehaus.classworlds.Launcher \
clean
# root package
java \
-Dmaven.multiModuleProjectDirectory=. \
-Djansi.passthrough=true \
-Dmaven.home=./build/maven3 \
-Dclassworlds.conf=./lib/m2.conf \
-Dmaven.test.skip=true \
-Dfile.encoding=UTF-8 \
-Dsun.stdout.encoding=UTF-8 \
-Dsun.stderr.encoding=UTF-8 \
-classpath ./lib/plexus-classworlds.license:./lib/plexus-classworlds-2.6.0.jar \
org.codehaus.classworlds.Launcher \
package
#linux
#idea's clean
/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Dmaven.multiModuleProjectDirectory=/home/pengrui/IdeaProjects/game_server -Djansi.passthrough=true -Dmaven.home=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven-event-listener.jar -javaagent:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/lib/idea_rt.jar=46043:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/boot/plexus-classworlds-2.7.0.jar org.codehaus.classworlds.Launcher -Didea.version=2024.1.4 clean
#idea's package
/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Dmaven.multiModuleProjectDirectory=/home/pengrui/IdeaProjects/game_server -Djansi.passthrough=true -Dmaven.home=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven-event-listener.jar -javaagent:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/lib/idea_rt.jar=42053:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/plugins/maven/lib/maven3/boot/plexus-classworlds-2.7.0.jar org.codehaus.classworlds.Launcher -Didea.version=2024.1.4 package
#macos
#clean
/Library/Java/JavaVirtualMachines/graalvm-22.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/pengrui/gitee/game-server -Djansi.passthrough=true -Dmaven.home=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven-event-listener.jar -javaagent:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/lib/idea_rt.jar=63454:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.7.0.jar org.codehaus.classworlds.Launcher -Didea.version=2023.3.6 clean
#package
/Library/Java/JavaVirtualMachines/graalvm-22.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/pengrui/gitee/game-server -Djansi.passthrough=true -Dmaven.home=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven-event-listener.jar -javaagent:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/lib/idea_rt.jar=63462:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Users/pengrui/Applications/IntelliJ IDEA Community Edition.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.7.0.jar org.codehaus.classworlds.Launcher -Didea.version=2023.3.6 package
-javaagent:
/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/lib/idea_rt.jar=
46043:
/home/pengrui/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/241.18034.62/bin