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 >
25+
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 >
90+ </project >
0 commit comments