1- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2- <modelVersion >4.0.0</modelVersion >
3- <groupId >com.litongjava</groupId >
4- <artifactId >aio-socket-benchmark</artifactId >
5- <version >1.0</version >
6- <name >${project.artifactId} </name >
7- <properties >
8- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
9- <java .version>1.8</java .version>
10- <maven .compiler.source>${java.version} </maven .compiler.source>
11- <maven .compiler.target>${java.version} </maven .compiler.target>
12- <main .class>com.litongjava.aio.http.server.HttpServer</main .class>
13- </properties >
14- <dependencies >
15- <dependency >
16- <groupId >com.litongjava</groupId >
17- <artifactId >aio-socket</artifactId >
18- <version >1.0.1</version >
19- </dependency >
20- <dependency >
21- <groupId >com.alibaba</groupId >
22- <artifactId >fastjson</artifactId >
23- <version >2.0.39</version >
24- </dependency >
1+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >com.litongjava</groupId >
5+ <artifactId >aio-socket-benchmark</artifactId >
6+ <version >1.0</version >
7+ <name >${project.artifactId} </name >
8+ <properties >
9+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
10+ <java .version>25</java .version>
11+ <maven .compiler.source>${java.version} </maven .compiler.source>
12+ <maven .compiler.target>${java.version} </maven .compiler.target>
13+ <main .class>com.litongjava.aio.http.server.HttpServer</main .class>
14+ </properties >
15+ <dependencies >
16+ <dependency >
17+ <groupId >com.litongjava</groupId >
18+ <artifactId >aio-socket</artifactId >
19+ <version >1.0.7</version >
20+ </dependency >
21+ <dependency >
22+ <groupId >com.alibaba.fastjson2</groupId >
23+ <artifactId >fastjson2</artifactId >
24+ <version >2.0.60</version >
25+ <scope >compile</scope >
26+ </dependency >
2527
26- </dependencies >
27- <repositories >
28- <repository >
29- <id >central</id >
30- <name >Central Repository</name >
31- <url >https://repo.maven.apache.org/maven2</url >
32- </repository >
33- <repository >
34- <id >sonatype-nexus-snapshots</id >
35- <name >Sonatype Nexus Snapshots</name >
36- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
37- </repository >
38- </repositories >
39- <pluginRepositories >
40- <pluginRepository >
41- <id >central</id >
42- <name >Central Repository</name >
43- <url >https://repo.maven.apache.org/maven2</url >
44- </pluginRepository >
45- <pluginRepository >
46- <id >sonatype-nexus-snapshots</id >
47- <name >Sonatype Nexus Snapshots</name >
48- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
49- <releases >
50- <enabled >false</enabled >
51- </releases >
52- <snapshots >
53- <enabled >true</enabled >
54- </snapshots >
55- </pluginRepository >
56- </pluginRepositories >
57- <build >
58- <plugins >
59-
60- <plugin >
61- <inherited >true</inherited >
62- <groupId >org.apache.maven.plugins</groupId >
63- <artifactId >maven-compiler-plugin</artifactId >
64- <version >3.8.0</version >
65- <configuration >
66- <debug >false</debug >
67- </configuration >
68- </plugin >
69-
70- <plugin >
71- <artifactId >maven-assembly-plugin</artifactId >
72- <version >3.1.0</version >
73- <configuration >
74- <descriptorRefs >
75- <descriptorRef >jar-with-dependencies</descriptorRef >
76- </descriptorRefs >
77- </configuration >
78- <executions >
79- <execution >
80- <id >make-assembly</id >
81- <phase >package</phase >
82- <goals >
83- <goal >single</goal >
84- </goals >
85- </execution >
86- </executions >
87- </plugin >
88- </plugins >
89- </build >
28+ </dependencies >
29+ <repositories >
30+ <repository >
31+ <id >central</id >
32+ <name >Central Repository</name >
33+ <url >https://repo.maven.apache.org/maven2</url >
34+ </repository >
35+ <repository >
36+ <id >sonatype-nexus-snapshots</id >
37+ <name >Sonatype Nexus Snapshots</name >
38+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
39+ </repository >
40+ </repositories >
41+ <pluginRepositories >
42+ <pluginRepository >
43+ <id >central</id >
44+ <name >Central Repository</name >
45+ <url >https://repo.maven.apache.org/maven2</url >
46+ </pluginRepository >
47+ <pluginRepository >
48+ <id >sonatype-nexus-snapshots</id >
49+ <name >Sonatype Nexus Snapshots</name >
50+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
51+ <releases >
52+ <enabled >false</enabled >
53+ </releases >
54+ <snapshots >
55+ <enabled >true</enabled >
56+ </snapshots >
57+ </pluginRepository >
58+ </pluginRepositories >
59+ <build >
60+ <plugins >
61+ <plugin >
62+ <inherited >true</inherited >
63+ <groupId >org.apache.maven.plugins</groupId >
64+ <artifactId >maven-compiler-plugin</artifactId >
65+ <version >3.14.1</version >
66+ <configuration >
67+ <debug >false</debug >
68+ <source >25</source >
69+ <target >25</target >
70+ </configuration >
71+ </plugin >
72+ <plugin >
73+ <artifactId >maven-assembly-plugin</artifactId >
74+ <version >3.1.0</version >
75+ <configuration >
76+ <archive >
77+ <manifest >
78+ <mainClass >com.litongjava.aio.http.server.HttpServer</mainClass >
79+ </manifest >
80+ </archive >
81+ <descriptorRefs >
82+ <descriptorRef >jar-with-dependencies</descriptorRef >
83+ </descriptorRefs >
84+ </configuration >
85+ <executions >
86+ <execution >
87+ <id >make-assembly</id >
88+ <phase >package</phase >
89+ <goals >
90+ <goal >single</goal >
91+ </goals >
92+ </execution >
93+ </executions >
94+ </plugin >
95+ </plugins >
96+ </build >
9097</project >
0 commit comments