netty-common-4.1.101.Final.pom 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/maven-v4_0_0.xsd">
  3. <parent>
  4. <artifactId>netty-parent</artifactId>
  5. <groupId>io.netty</groupId>
  6. <version>4.1.101.Final</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>netty-common</artifactId>
  10. <name>Netty/Common</name>
  11. <build>
  12. <plugins>
  13. <plugin>
  14. <artifactId>maven-shade-plugin</artifactId>
  15. <executions>
  16. <execution>
  17. <phase>package</phase>
  18. <goals>
  19. <goal>shade</goal>
  20. </goals>
  21. <configuration>
  22. <artifactSet>
  23. <includes>
  24. <include>org.jctools</include>
  25. </includes>
  26. </artifactSet>
  27. <relocations>
  28. <relocation>
  29. <pattern>org.jctools.</pattern>
  30. <shadedPattern>io.netty.util.internal.shaded.org.jctools.</shadedPattern>
  31. </relocation>
  32. </relocations>
  33. <minimizeJar>true</minimizeJar>
  34. <createSourcesJar>true</createSourcesJar>
  35. <shadeSourcesContent>true</shadeSourcesContent>
  36. </configuration>
  37. </execution>
  38. </executions>
  39. </plugin>
  40. <plugin>
  41. <groupId>org.codehaus.mojo</groupId>
  42. <artifactId>build-helper-maven-plugin</artifactId>
  43. <executions>
  44. <execution>
  45. <id>add-source</id>
  46. <phase>generate-sources</phase>
  47. <goals>
  48. <goal>add-source</goal>
  49. </goals>
  50. <configuration>
  51. <sources>
  52. <source>${collection.src.dir}</source>
  53. </sources>
  54. </configuration>
  55. </execution>
  56. <execution>
  57. <id>add-test-source</id>
  58. <phase>generate-test-sources</phase>
  59. <goals>
  60. <goal>add-test-source</goal>
  61. </goals>
  62. <configuration>
  63. <sources>
  64. <source>${collection.testsrc.dir}</source>
  65. </sources>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.codehaus.gmaven</groupId>
  72. <artifactId>groovy-maven-plugin</artifactId>
  73. <version>2.1.1</version>
  74. <executions>
  75. <execution>
  76. <id>generate-collections</id>
  77. <phase>generate-sources</phase>
  78. <goals>
  79. <goal>execute</goal>
  80. </goals>
  81. <configuration>
  82. <source>${project.basedir}/src/main/script/codegen.groovy</source>
  83. </configuration>
  84. </execution>
  85. </executions>
  86. <dependencies>
  87. <dependency>
  88. <groupId>org.codehaus.groovy</groupId>
  89. <artifactId>groovy</artifactId>
  90. <version>3.0.9</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>ant</groupId>
  94. <artifactId>ant-optional</artifactId>
  95. <version>1.5.3-1</version>
  96. </dependency>
  97. </dependencies>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.felix</groupId>
  101. <artifactId>maven-bundle-plugin</artifactId>
  102. <executions>
  103. <execution>
  104. <id>generate-manifest</id>
  105. <phase>process-classes</phase>
  106. <goals>
  107. <goal>manifest</goal>
  108. </goals>
  109. <configuration>
  110. <instructions>
  111. <DynamicImport-Package>*</DynamicImport-Package>
  112. <Import-Package>!org.jctools.*;sun.misc;resolution:=optional;*</Import-Package>
  113. </instructions>
  114. </configuration>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. <dependencies>
  121. <dependency>
  122. <groupId>org.graalvm.nativeimage</groupId>
  123. <artifactId>svm</artifactId>
  124. <version>19.3.6</version>
  125. <scope>provided</scope>
  126. <exclusions>
  127. <exclusion>
  128. <artifactId>svm-hosted-native-linux-amd64</artifactId>
  129. <groupId>org.graalvm.nativeimage</groupId>
  130. </exclusion>
  131. <exclusion>
  132. <artifactId>svm-hosted-native-darwin-amd64</artifactId>
  133. <groupId>org.graalvm.nativeimage</groupId>
  134. </exclusion>
  135. <exclusion>
  136. <artifactId>svm-hosted-native-windows-amd64</artifactId>
  137. <groupId>org.graalvm.nativeimage</groupId>
  138. </exclusion>
  139. <exclusion>
  140. <artifactId>graal-sdk</artifactId>
  141. <groupId>org.graalvm.sdk</groupId>
  142. </exclusion>
  143. <exclusion>
  144. <artifactId>objectfile</artifactId>
  145. <groupId>org.graalvm.nativeimage</groupId>
  146. </exclusion>
  147. <exclusion>
  148. <artifactId>pointsto</artifactId>
  149. <groupId>org.graalvm.nativeimage</groupId>
  150. </exclusion>
  151. <exclusion>
  152. <artifactId>truffle-nfi</artifactId>
  153. <groupId>org.graalvm.truffle</groupId>
  154. </exclusion>
  155. <exclusion>
  156. <artifactId>compiler</artifactId>
  157. <groupId>org.graalvm.compiler</groupId>
  158. </exclusion>
  159. </exclusions>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.jetbrains</groupId>
  163. <artifactId>annotations-java5</artifactId>
  164. <version>23.0.0</version>
  165. <scope>provided</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.slf4j</groupId>
  169. <artifactId>slf4j-api</artifactId>
  170. <version>1.7.30</version>
  171. <scope>compile</scope>
  172. <optional>true</optional>
  173. </dependency>
  174. <dependency>
  175. <groupId>commons-logging</groupId>
  176. <artifactId>commons-logging</artifactId>
  177. <version>1.2</version>
  178. <scope>compile</scope>
  179. <optional>true</optional>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.logging.log4j</groupId>
  183. <artifactId>log4j-1.2-api</artifactId>
  184. <version>2.17.2</version>
  185. <scope>compile</scope>
  186. <exclusions>
  187. <exclusion>
  188. <artifactId>mail</artifactId>
  189. <groupId>javax.mail</groupId>
  190. </exclusion>
  191. <exclusion>
  192. <artifactId>jms</artifactId>
  193. <groupId>javax.jms</groupId>
  194. </exclusion>
  195. <exclusion>
  196. <artifactId>jmxtools</artifactId>
  197. <groupId>com.sun.jdmk</groupId>
  198. </exclusion>
  199. <exclusion>
  200. <artifactId>jmxri</artifactId>
  201. <groupId>com.sun.jmx</groupId>
  202. </exclusion>
  203. </exclusions>
  204. <optional>true</optional>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.logging.log4j</groupId>
  208. <artifactId>log4j-api</artifactId>
  209. <version>2.17.2</version>
  210. <scope>compile</scope>
  211. <optional>true</optional>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.logging.log4j</groupId>
  215. <artifactId>log4j-core</artifactId>
  216. <version>2.17.2</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>io.projectreactor.tools</groupId>
  221. <artifactId>blockhound</artifactId>
  222. <version>1.0.6.RELEASE</version>
  223. <scope>compile</scope>
  224. <optional>true</optional>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.mockito</groupId>
  228. <artifactId>mockito-core</artifactId>
  229. <version>2.18.3</version>
  230. <scope>test</scope>
  231. <exclusions>
  232. <exclusion>
  233. <artifactId>byte-buddy</artifactId>
  234. <groupId>net.bytebuddy</groupId>
  235. </exclusion>
  236. <exclusion>
  237. <artifactId>byte-buddy-agent</artifactId>
  238. <groupId>net.bytebuddy</groupId>
  239. </exclusion>
  240. <exclusion>
  241. <artifactId>objenesis</artifactId>
  242. <groupId>org.objenesis</groupId>
  243. </exclusion>
  244. </exclusions>
  245. </dependency>
  246. <dependency>
  247. <groupId>io.netty</groupId>
  248. <artifactId>netty-dev-tools</artifactId>
  249. <version>4.1.101.Final</version>
  250. <scope>test</scope>
  251. <optional>true</optional>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.junit.jupiter</groupId>
  255. <artifactId>junit-jupiter-api</artifactId>
  256. <version>5.9.0</version>
  257. <scope>test</scope>
  258. <exclusions>
  259. <exclusion>
  260. <artifactId>opentest4j</artifactId>
  261. <groupId>org.opentest4j</groupId>
  262. </exclusion>
  263. <exclusion>
  264. <artifactId>junit-platform-commons</artifactId>
  265. <groupId>org.junit.platform</groupId>
  266. </exclusion>
  267. <exclusion>
  268. <artifactId>apiguardian-api</artifactId>
  269. <groupId>org.apiguardian</groupId>
  270. </exclusion>
  271. </exclusions>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.junit.jupiter</groupId>
  275. <artifactId>junit-jupiter-engine</artifactId>
  276. <version>5.9.0</version>
  277. <scope>test</scope>
  278. <exclusions>
  279. <exclusion>
  280. <artifactId>junit-platform-engine</artifactId>
  281. <groupId>org.junit.platform</groupId>
  282. </exclusion>
  283. <exclusion>
  284. <artifactId>apiguardian-api</artifactId>
  285. <groupId>org.apiguardian</groupId>
  286. </exclusion>
  287. </exclusions>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.junit.jupiter</groupId>
  291. <artifactId>junit-jupiter-params</artifactId>
  292. <version>5.9.0</version>
  293. <scope>test</scope>
  294. <exclusions>
  295. <exclusion>
  296. <artifactId>apiguardian-api</artifactId>
  297. <groupId>org.apiguardian</groupId>
  298. </exclusion>
  299. </exclusions>
  300. </dependency>
  301. <dependency>
  302. <groupId>io.netty</groupId>
  303. <artifactId>netty-build-common</artifactId>
  304. <version>31</version>
  305. <scope>test</scope>
  306. <exclusions>
  307. <exclusion>
  308. <artifactId>checkstyle</artifactId>
  309. <groupId>com.puppycrawl.tools</groupId>
  310. </exclusion>
  311. </exclusions>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.hamcrest</groupId>
  315. <artifactId>hamcrest-library</artifactId>
  316. <version>1.3</version>
  317. <scope>test</scope>
  318. <exclusions>
  319. <exclusion>
  320. <artifactId>hamcrest-core</artifactId>
  321. <groupId>org.hamcrest</groupId>
  322. </exclusion>
  323. </exclusions>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.assertj</groupId>
  327. <artifactId>assertj-core</artifactId>
  328. <version>3.18.0</version>
  329. <scope>test</scope>
  330. </dependency>
  331. <dependency>
  332. <groupId>ch.qos.logback</groupId>
  333. <artifactId>logback-classic</artifactId>
  334. <version>1.2.3</version>
  335. <scope>test</scope>
  336. <exclusions>
  337. <exclusion>
  338. <artifactId>logback-core</artifactId>
  339. <groupId>ch.qos.logback</groupId>
  340. </exclusion>
  341. </exclusions>
  342. </dependency>
  343. </dependencies>
  344. <properties>
  345. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  346. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  347. <javaModuleName>io.netty.common</javaModuleName>
  348. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  349. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  350. </properties>
  351. </project>