1616 <dependency >
1717 <groupId >com.litongjava</groupId >
1818 <artifactId >tio-http-server</artifactId >
19- <version >3.7.3.v20240919 -RELEASE</version >
19+ <version >3.7.3.v20250301 -RELEASE</version >
2020 </dependency >
2121 <dependency >
2222 <groupId >com.litongjava</groupId >
2323 <artifactId >java-db</artifactId >
24- <version >1.2.6 </version >
24+ <version >1.4.9 </version >
2525 </dependency >
2626 <dependency >
2727 <groupId >junit</groupId >
3131 </dependency >
3232
3333
34- <!-- https://mvnrepository.com/artifact/com.jfinal/activerecord -->
35- <!--
36- <dependency>
37- <groupId>com.jfinal</groupId>
38- <artifactId>activerecord</artifactId>
39- <version>5.1.6</version>
40- </dependency>
41- -->
42-
43-
4434 <dependency >
4535 <groupId >com.alibaba.fastjson2</groupId >
4636 <artifactId >fastjson2</artifactId >
6656 </dependency >
6757
6858 </dependencies >
69- <profiles >
70- <!-- 开发环境 -->
71- <profile >
72- <id >development</id >
73- <activation >
74- <activeByDefault >true</activeByDefault >
75- </activation >
76- <dependencies >
77- <dependency >
78- <groupId >ch.qos.logback</groupId >
79- <artifactId >logback-classic</artifactId >
80- <version >1.2.13</version >
81- </dependency >
82- </dependencies >
83- </profile >
59+ <repositories >
60+ <repository >
61+ <id >central</id >
62+ <name >Central Repository</name >
63+ <url >https://repo.maven.apache.org/maven2</url >
64+ </repository >
65+ <repository >
66+ <id >sonatype-nexus-snapshots</id >
67+ <name >Sonatype Nexus Snapshots</name >
68+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
69+ </repository >
70+ </repositories >
71+ <pluginRepositories >
72+ <pluginRepository >
73+ <id >central</id >
74+ <name >Central Repository</name >
75+ <url >https://repo.maven.apache.org/maven2</url >
76+ </pluginRepository >
77+ <pluginRepository >
78+ <id >sonatype-nexus-snapshots</id >
79+ <name >Sonatype Nexus Snapshots</name >
80+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
81+ <releases >
82+ <enabled >false</enabled >
83+ </releases >
84+ <snapshots >
85+ <enabled >true</enabled >
86+ </snapshots >
87+ </pluginRepository >
88+ </pluginRepositories >
89+ <build >
90+ <plugins >
91+
92+ <plugin >
93+ <inherited >true</inherited >
94+ <groupId >org.apache.maven.plugins</groupId >
95+ <artifactId >maven-compiler-plugin</artifactId >
96+ <version >3.8.0</version >
97+ <configuration >
98+ <debug >false</debug >
99+ </configuration >
100+ </plugin >
84101
85- <!-- 生产环境 -->
86- <profile >
87- <id >production</id >
88- <dependencies >
89- <dependency >
90- <groupId >ch.qos.logback</groupId >
91- <artifactId >logback-classic</artifactId >
92- <version >1.2.13</version >
93- </dependency >
94- </dependencies >
95- <build >
96- <plugins >
97- <plugin >
98- <groupId >org.springframework.boot</groupId >
99- <artifactId >spring-boot-maven-plugin</artifactId >
100- <version >2.7.4</version >
101- <configuration >
102- <mainClass >${main.class} </mainClass >
103- <excludeGroupIds >org.projectlombok</excludeGroupIds >
104- </configuration >
105- <!-- 设置执行目标 -->
106- <executions >
107- <execution >
108- <goals >
109- <goal >repackage</goal >
110- </goals >
111- </execution >
112- </executions >
113- </plugin >
114- </plugins >
115- </build >
116- </profile >
117- <!-- assembly -->
118- <profile >
119- <id >assembly</id >
120- <dependencies >
121- <dependency >
122- <groupId >ch.qos.logback</groupId >
123- <artifactId >logback-classic</artifactId >
124- <version >1.2.13</version >
125- </dependency >
126- </dependencies >
127- <build >
128- <plugins >
129- <plugin >
130- <groupId >org.apache.maven.plugins</groupId >
131- <artifactId >maven-jar-plugin</artifactId >
132- <version >3.2.0</version >
133- </plugin >
134- <plugin >
135- <groupId >org.apache.maven.plugins</groupId >
136- <artifactId >maven-assembly-plugin</artifactId >
137- <version >3.1.1</version >
138- <configuration >
139- <archive >
140- <manifest >
141- <mainClass >${main.class} </mainClass >
142- </manifest >
143- </archive >
144- <descriptorRefs >
145- <descriptorRef >jar-with-dependencies</descriptorRef >
146- </descriptorRefs >
147- <appendAssemblyId >false</appendAssemblyId >
148- </configuration >
149- <executions >
150- <execution >
151- <id >make-assembly</id >
152- <phase >package</phase >
153- <goals >
154- <goal >single</goal >
155- </goals >
156- </execution >
157- </executions >
158- </plugin >
159- </plugins >
160- </build >
161- </profile >
162- <profile >
163- <id >native</id >
164- <dependencies >
165- <!-- GraalVM 环境使用 jdk log -->
166- <dependency >
167- <groupId >org.slf4j</groupId >
168- <artifactId >slf4j-jdk14</artifactId >
169- <version >1.7.31</version >
170- </dependency >
171- <!-- GraalVM -->
172- <dependency >
173- <groupId >org.graalvm.sdk</groupId >
174- <artifactId >graal-sdk</artifactId >
175- <version >${graalvm.version} </version >
176- <scope >provided</scope >
177- </dependency >
178- </dependencies >
179- <build >
180- <finalName >${project.artifactId} </finalName >
181- <plugins >
182- <plugin >
183- <groupId >org.graalvm.nativeimage</groupId >
184- <artifactId >native-image-maven-plugin</artifactId >
185- <version >21.2.0</version >
186- <executions >
187- <execution >
188- <goals >
189- <goal >native-image</goal >
190- </goals >
191- <phase >package</phase >
192- </execution >
193- </executions >
194- <configuration >
195- <skip >false</skip >
196- <imageName >${project.artifactId} </imageName >
197- <mainClass >${main.class} </mainClass >
198- <buildArgs >
199- -H:+RemoveSaturatedTypeFlows
200- --allow-incomplete-classpath
201- --no-fallback
202- </buildArgs >
203- </configuration >
204- </plugin >
205- </plugins >
206- </build >
207- </profile >
208- </profiles >
102+ <plugin >
103+ <artifactId >maven-assembly-plugin</artifactId >
104+ <version >3.1.0</version >
105+ <configuration >
106+ <descriptorRefs >
107+ <descriptorRef >jar-with-dependencies</descriptorRef >
108+ </descriptorRefs >
109+ </configuration >
110+ <executions >
111+ <execution >
112+ <id >make-assembly</id >
113+ <phase >package</phase >
114+ <goals >
115+ <goal >single</goal >
116+ </goals >
117+ </execution >
118+ </executions >
119+ </plugin >
120+ </plugins >
121+ </build >
209122</project >
0 commit comments