pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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>tio-http-server-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. <graalvm.version>23.1.1</graalvm.version>
  13. <main.class>com.litongjava.tio.http.server.MainApp</main.class>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.litongjava</groupId>
  18. <artifactId>tio-http-server</artifactId>
  19. <version>3.7.3.v20250301-RELEASE</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.litongjava</groupId>
  23. <artifactId>java-db</artifactId>
  24. <version>1.4.9</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>junit</groupId>
  28. <artifactId>junit</artifactId>
  29. <version>4.12</version>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba.fastjson2</groupId>
  34. <artifactId>fastjson2</artifactId>
  35. <version>2.0.52</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>net.sf.ehcache</groupId>
  39. <artifactId>ehcache-core</artifactId>
  40. <version>2.6.11</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. <version>5.1.46</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.zaxxer</groupId>
  49. <artifactId>HikariCP</artifactId>
  50. <version>4.0.3</version>
  51. </dependency>
  52. </dependencies>
  53. <repositories>
  54. <repository>
  55. <id>central</id>
  56. <name>Central Repository</name>
  57. <url>https://repo.maven.apache.org/maven2</url>
  58. </repository>
  59. <repository>
  60. <id>sonatype-nexus-snapshots</id>
  61. <name>Sonatype Nexus Snapshots</name>
  62. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  63. </repository>
  64. </repositories>
  65. <pluginRepositories>
  66. <pluginRepository>
  67. <id>central</id>
  68. <name>Central Repository</name>
  69. <url>https://repo.maven.apache.org/maven2</url>
  70. </pluginRepository>
  71. <pluginRepository>
  72. <id>sonatype-nexus-snapshots</id>
  73. <name>Sonatype Nexus Snapshots</name>
  74. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  75. <releases>
  76. <enabled>false</enabled>
  77. </releases>
  78. <snapshots>
  79. <enabled>true</enabled>
  80. </snapshots>
  81. </pluginRepository>
  82. </pluginRepositories>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <inherited>true</inherited>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-compiler-plugin</artifactId>
  89. <version>3.8.0</version>
  90. <configuration>
  91. <debug>false</debug>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <artifactId>maven-assembly-plugin</artifactId>
  96. <version>3.1.0</version>
  97. <configuration>
  98. <descriptorRefs>
  99. <descriptorRef>jar-with-dependencies</descriptorRef>
  100. </descriptorRefs>
  101. </configuration>
  102. <executions>
  103. <execution>
  104. <id>make-assembly</id>
  105. <phase>package</phase>
  106. <goals>
  107. <goal>single</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. </plugins>
  113. </build>
  114. </project>