pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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>cn.ibaijia</groupId>
  5. <artifactId>isocket-nio-benchmark</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <slf4j.version>1.7.7</slf4j.version>
  10. <log4j.version>1.2.17</log4j.version>
  11. <log4j2.version>2.17.1</log4j2.version>
  12. <isocket.version>1.0.4-SNAPSHOT</isocket.version>
  13. <fastjson.version>1.2.83</fastjson.version>
  14. </properties>
  15. <repositories><!-- 代码库 -->
  16. <repository>
  17. <id>ossrh</id>
  18. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  19. <snapshots>
  20. <enabled>true</enabled>
  21. <updatePolicy>always</updatePolicy>
  22. </snapshots>
  23. </repository>
  24. </repositories>
  25. <dependencies>
  26. <dependency>
  27. <groupId>cn.ibaijia</groupId>
  28. <artifactId>isocket-nio</artifactId>
  29. <version>${isocket.version}</version>
  30. </dependency>
  31. <!-- 格式化对象 -->
  32. <dependency>
  33. <groupId>com.alibaba</groupId>
  34. <artifactId>fastjson</artifactId>
  35. <version>${fastjson.version}</version>
  36. <!--<scope>provided</scope>-->
  37. </dependency>
  38. <!-- log start -->
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. <version>${slf4j.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.logging.log4j</groupId>
  46. <artifactId>log4j-api</artifactId>
  47. <version>${log4j2.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.logging.log4j</groupId>
  51. <artifactId>log4j-slf4j-impl</artifactId>
  52. <version>${log4j2.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.logging.log4j</groupId>
  56. <artifactId>log4j-core</artifactId>
  57. <version>${log4j2.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.lmax</groupId>
  61. <artifactId>disruptor</artifactId>
  62. <version>3.2.0</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  65. </dependencies>
  66. <pluginRepositories>
  67. <pluginRepository>
  68. <id>central</id>
  69. <name>Central Repository</name>
  70. <url>https://repo.maven.apache.org/maven2</url>
  71. </pluginRepository>
  72. <pluginRepository>
  73. <id>sonatype-nexus-snapshots</id>
  74. <name>Sonatype Nexus Snapshots</name>
  75. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  76. <releases>
  77. <enabled>false</enabled>
  78. </releases>
  79. <snapshots>
  80. <enabled>true</enabled>
  81. <updatePolicy>always</updatePolicy>
  82. </snapshots>
  83. </pluginRepository>
  84. </pluginRepositories>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <configuration>
  91. <failOnError>true</failOnError>
  92. <verbose>true</verbose>
  93. <fork>true</fork>
  94. <compilerArgument>-nowarn</compilerArgument>
  95. <source>11</source>
  96. <target>11</target>
  97. <encoding>UTF-8</encoding>
  98. <debug>false</debug>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-assembly-plugin</artifactId>
  103. <version>3.1.0</version>
  104. <configuration>
  105. <descriptorRefs>
  106. <descriptorRef>jar-with-dependencies</descriptorRef>
  107. </descriptorRefs>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <id>make-assembly</id>
  112. <phase>package</phase>
  113. <goals>
  114. <goal>single</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>