pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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>org.smartboot.socket</groupId>
  5. <artifactId>smart-socket-benchmark</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <maven.compiler.source>21</maven.compiler.source>
  11. <maven.compiler.target>21</maven.compiler.target>
  12. <log4j.version>2.17.1</log4j.version>
  13. <smartservlet.version>3.1-SNAPSHOT</smartservlet.version>
  14. <hikaricp.version>5.0.0</hikaricp.version>
  15. <jsoniter.version>0.9.23</jsoniter.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>tech.smartboot.feat</groupId>
  20. <artifactId>feat-cloud-starter</artifactId>
  21. <version>1.4.0</version>
  22. </dependency>
  23. <!-- <dependency>-->
  24. <!-- <groupId>io.github.smartboot.socket</groupId>-->
  25. <!-- <artifactId>aio-pro</artifactId>-->
  26. <!-- <version>1.5.62-SNAPSHOT</version>-->
  27. <!-- </dependency>-->
  28. <dependency>
  29. <groupId>tech.smartboot.servlet</groupId>
  30. <artifactId>servlet-core</artifactId>
  31. <version>${smartservlet.version}</version>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>tech.smartboot.feat</groupId>
  35. <artifactId>feat-core</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.zaxxer</groupId>
  41. <artifactId>HikariCP</artifactId>
  42. <version>${hikaricp.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.jsoniter</groupId>
  46. <artifactId>jsoniter</artifactId>
  47. <version>${jsoniter.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.logging.log4j</groupId>
  51. <artifactId>log4j-slf4j-impl</artifactId>
  52. <version>${log4j.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.logging.log4j</groupId>
  56. <artifactId>log4j-api</artifactId>
  57. <version>${log4j.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.logging.log4j</groupId>
  61. <artifactId>log4j-core</artifactId>
  62. <version>${log4j.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.postgresql</groupId>
  66. <artifactId>postgresql</artifactId>
  67. <version>42.7.2</version>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  70. <dependency>
  71. <groupId>org.apache.velocity</groupId>
  72. <artifactId>velocity</artifactId>
  73. <version>1.7</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>oro</groupId>
  77. <artifactId>oro</artifactId>
  78. <version>2.0.8</version>
  79. </dependency>
  80. </dependencies>
  81. <repositories>
  82. <repository>
  83. <id>central</id>
  84. <name>Central Repository</name>
  85. <url>https://repo.maven.apache.org/maven2</url>
  86. </repository>
  87. <repository>
  88. <name>Central Portal Snapshots</name>
  89. <id>central-portal-snapshots</id>
  90. <url>https://central.sonatype.com/repository/maven-snapshots/</url>
  91. <releases>
  92. <enabled>false</enabled>
  93. </releases>
  94. <snapshots>
  95. <enabled>true</enabled>
  96. </snapshots>
  97. </repository>
  98. </repositories>
  99. <pluginRepositories>
  100. <pluginRepository>
  101. <id>central</id>
  102. <name>Central Repository</name>
  103. <url>https://repo.maven.apache.org/maven2</url>
  104. </pluginRepository>
  105. <pluginRepository>
  106. <id>sonatype-nexus-snapshots</id>
  107. <name>Sonatype Nexus Snapshots</name>
  108. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  109. <releases>
  110. <enabled>false</enabled>
  111. </releases>
  112. <snapshots>
  113. <enabled>true</enabled>
  114. </snapshots>
  115. </pluginRepository>
  116. </pluginRepositories>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <inherited>true</inherited>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-compiler-plugin</artifactId>
  123. <version>3.8.0</version>
  124. <configuration>
  125. <debug>false</debug>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-shade-plugin</artifactId>
  130. <version>3.3.0</version>
  131. <executions>
  132. <execution>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>shade</goal>
  136. </goals>
  137. <configuration>
  138. <createDependencyReducedPom>false</createDependencyReducedPom>
  139. <transformers>
  140. <!-- 采用追加的方式 -->
  141. <transformer
  142. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  143. <resource>META-INF/services/tech.smartboot.feat.core.apt.AptLoader</resource>
  144. </transformer>
  145. </transformers>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>