File tree Expand file tree Collapse file tree 1 file changed +48
-9
lines changed
Expand file tree Collapse file tree 1 file changed +48
-9
lines changed Original file line number Diff line number Diff line change 1818请一定要先安装` lombok ` 插件,少写很多getter/setter。不装插件会找不到getter/setter方法
1919
2020## 引用
21-
21+ 添加以下仓库到你的pom.xml文件中
2222```
2323 <repositories>
2424 <repository>
25- <id>ServerCore</id>
26- <url>https://raw.github.com/GEngine-JP/GEngine/packages</url>
27- <snapshots>
28- <enabled>true</enabled>
29- <updatePolicy>always</updatePolicy>
30- </snapshots>
25+ <id>github</id>
26+ <url>https://maven.pkg.github.com/GEngine-JP/GEngine</url>
3127 </repository>
3228 </repositories>
3329```
34-
3530如果项目的pom.xml文件不加这段内容会找不到对应的jar包
3631
32+
33+ 添加授权信息到你的settings.xml中
34+ windows默认放在` C:/Users/用户名/.m2 ` 下
35+ mac os默认放在在 ~ /.m2/下
36+
37+ ```
38+ <?xml version="1.0" encoding="UTF-8"?>
39+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
40+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
41+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
42+ <activeProfiles>
43+ <activeProfile>github</activeProfile>
44+ </activeProfiles>
45+ <profiles>
46+ <profile>
47+ <id>github</id>
48+ <repositories>
49+ <repository>
50+ <id>central</id>
51+ <url>https://repo1.maven.org/maven2</url>
52+ <releases><enabled>true</enabled></releases>
53+ <snapshots><enabled>true</enabled></snapshots>
54+ </repository>
55+ <repository>
56+ <id>github</id>
57+ <name>GitHub OWNER Apache Maven Packages</name>
58+ <url>https://maven.pkg.github.com/GEngine-JP/GEngin</url>
59+ </repository>
60+ </repositories>
61+ </profile>
62+ </profiles>
63+ <servers>
64+ <server>
65+ <id>github</id>
66+ <username>houko</username>
67+ <password>0586b09e7a7eb523c301de480f2cfff4eda67d02</password>
68+ </server>
69+ </servers>
70+ </settings>
71+ ```
72+
73+
74+ 在你的pom文件中` dependencies ` 添加以下引用
3775```
3876 <dependency>
3977 <groupId>info.xiaomo</groupId>
4078 <artifactId>g-engine</artifactId>
41- <version>3.1.1 </version>
79+ <version>3.2.2 </version>
4280 </dependency>
4381```
4482
83+
4584#### 更新日志
4685[ release] ( https://github.com/GEngine-JP/GEngine/releases )
4786
You can’t perform that action at this time.
0 commit comments