netty-common-4.1.75.Final.pom 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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.75.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. <version>2.5.4</version>
  103. <executions>
  104. <execution>
  105. <id>generate-manifest</id>
  106. <phase>process-classes</phase>
  107. <goals>
  108. <goal>manifest</goal>
  109. </goals>
  110. <configuration>
  111. <instructions>
  112. <DynamicImport-Package>*</DynamicImport-Package>
  113. <Import-Package>!org.jctools.*;sun.misc;resolution:=optional;*</Import-Package>
  114. </instructions>
  115. </configuration>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. <dependencies>
  122. <dependency>
  123. <groupId>org.graalvm.nativeimage</groupId>
  124. <artifactId>svm</artifactId>
  125. <version>19.3.6</version>
  126. <scope>provided</scope>
  127. <exclusions>
  128. <exclusion>
  129. <artifactId>svm-hosted-native-linux-amd64</artifactId>
  130. <groupId>org.graalvm.nativeimage</groupId>
  131. </exclusion>
  132. <exclusion>
  133. <artifactId>svm-hosted-native-darwin-amd64</artifactId>
  134. <groupId>org.graalvm.nativeimage</groupId>
  135. </exclusion>
  136. <exclusion>
  137. <artifactId>svm-hosted-native-windows-amd64</artifactId>
  138. <groupId>org.graalvm.nativeimage</groupId>
  139. </exclusion>
  140. <exclusion>
  141. <artifactId>graal-sdk</artifactId>
  142. <groupId>org.graalvm.sdk</groupId>
  143. </exclusion>
  144. <exclusion>
  145. <artifactId>objectfile</artifactId>
  146. <groupId>org.graalvm.nativeimage</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>pointsto</artifactId>
  150. <groupId>org.graalvm.nativeimage</groupId>
  151. </exclusion>
  152. <exclusion>
  153. <artifactId>truffle-nfi</artifactId>
  154. <groupId>org.graalvm.truffle</groupId>
  155. </exclusion>
  156. <exclusion>
  157. <artifactId>compiler</artifactId>
  158. <groupId>org.graalvm.compiler</groupId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.slf4j</groupId>
  164. <artifactId>slf4j-api</artifactId>
  165. <version>1.7.30</version>
  166. <scope>compile</scope>
  167. <optional>true</optional>
  168. </dependency>
  169. <dependency>
  170. <groupId>commons-logging</groupId>
  171. <artifactId>commons-logging</artifactId>
  172. <version>1.2</version>
  173. <scope>compile</scope>
  174. <optional>true</optional>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.logging.log4j</groupId>
  178. <artifactId>log4j-1.2-api</artifactId>
  179. <version>2.17.1</version>
  180. <scope>compile</scope>
  181. <exclusions>
  182. <exclusion>
  183. <artifactId>mail</artifactId>
  184. <groupId>javax.mail</groupId>
  185. </exclusion>
  186. <exclusion>
  187. <artifactId>jms</artifactId>
  188. <groupId>javax.jms</groupId>
  189. </exclusion>
  190. <exclusion>
  191. <artifactId>jmxtools</artifactId>
  192. <groupId>com.sun.jdmk</groupId>
  193. </exclusion>
  194. <exclusion>
  195. <artifactId>jmxri</artifactId>
  196. <groupId>com.sun.jmx</groupId>
  197. </exclusion>
  198. </exclusions>
  199. <optional>true</optional>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.logging.log4j</groupId>
  203. <artifactId>log4j-api</artifactId>
  204. <version>2.17.1</version>
  205. <scope>compile</scope>
  206. <optional>true</optional>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.apache.logging.log4j</groupId>
  210. <artifactId>log4j-core</artifactId>
  211. <version>2.17.1</version>
  212. <scope>test</scope>
  213. </dependency>
  214. <dependency>
  215. <groupId>io.projectreactor.tools</groupId>
  216. <artifactId>blockhound</artifactId>
  217. <version>1.0.6.RELEASE</version>
  218. <scope>compile</scope>
  219. <optional>true</optional>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.mockito</groupId>
  223. <artifactId>mockito-core</artifactId>
  224. <version>2.18.3</version>
  225. <scope>test</scope>
  226. <exclusions>
  227. <exclusion>
  228. <artifactId>byte-buddy</artifactId>
  229. <groupId>net.bytebuddy</groupId>
  230. </exclusion>
  231. <exclusion>
  232. <artifactId>byte-buddy-agent</artifactId>
  233. <groupId>net.bytebuddy</groupId>
  234. </exclusion>
  235. <exclusion>
  236. <artifactId>objenesis</artifactId>
  237. <groupId>org.objenesis</groupId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>io.netty</groupId>
  243. <artifactId>netty-dev-tools</artifactId>
  244. <version>4.1.75.Final</version>
  245. <scope>test</scope>
  246. <optional>true</optional>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.junit.jupiter</groupId>
  250. <artifactId>junit-jupiter-api</artifactId>
  251. <version>5.7.0</version>
  252. <scope>test</scope>
  253. <exclusions>
  254. <exclusion>
  255. <artifactId>apiguardian-api</artifactId>
  256. <groupId>org.apiguardian</groupId>
  257. </exclusion>
  258. <exclusion>
  259. <artifactId>opentest4j</artifactId>
  260. <groupId>org.opentest4j</groupId>
  261. </exclusion>
  262. <exclusion>
  263. <artifactId>junit-platform-commons</artifactId>
  264. <groupId>org.junit.platform</groupId>
  265. </exclusion>
  266. </exclusions>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.junit.jupiter</groupId>
  270. <artifactId>junit-jupiter-engine</artifactId>
  271. <version>5.7.0</version>
  272. <scope>test</scope>
  273. <exclusions>
  274. <exclusion>
  275. <artifactId>junit-platform-engine</artifactId>
  276. <groupId>org.junit.platform</groupId>
  277. </exclusion>
  278. <exclusion>
  279. <artifactId>apiguardian-api</artifactId>
  280. <groupId>org.apiguardian</groupId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.junit.jupiter</groupId>
  286. <artifactId>junit-jupiter-params</artifactId>
  287. <version>5.7.0</version>
  288. <scope>test</scope>
  289. <exclusions>
  290. <exclusion>
  291. <artifactId>apiguardian-api</artifactId>
  292. <groupId>org.apiguardian</groupId>
  293. </exclusion>
  294. </exclusions>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.junit.vintage</groupId>
  298. <artifactId>junit-vintage-engine</artifactId>
  299. <version>5.7.0</version>
  300. <scope>test</scope>
  301. <exclusions>
  302. <exclusion>
  303. <artifactId>junit-platform-engine</artifactId>
  304. <groupId>org.junit.platform</groupId>
  305. </exclusion>
  306. <exclusion>
  307. <artifactId>apiguardian-api</artifactId>
  308. <groupId>org.apiguardian</groupId>
  309. </exclusion>
  310. </exclusions>
  311. </dependency>
  312. <dependency>
  313. <groupId>junit</groupId>
  314. <artifactId>junit</artifactId>
  315. <version>4.13.1</version>
  316. <scope>test</scope>
  317. <exclusions>
  318. <exclusion>
  319. <artifactId>hamcrest-core</artifactId>
  320. <groupId>org.hamcrest</groupId>
  321. </exclusion>
  322. </exclusions>
  323. </dependency>
  324. <dependency>
  325. <groupId>io.netty</groupId>
  326. <artifactId>netty-build-common</artifactId>
  327. <version>30</version>
  328. <scope>test</scope>
  329. <exclusions>
  330. <exclusion>
  331. <artifactId>checkstyle</artifactId>
  332. <groupId>com.puppycrawl.tools</groupId>
  333. </exclusion>
  334. </exclusions>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.hamcrest</groupId>
  338. <artifactId>hamcrest-library</artifactId>
  339. <version>1.3</version>
  340. <scope>test</scope>
  341. <exclusions>
  342. <exclusion>
  343. <artifactId>hamcrest-core</artifactId>
  344. <groupId>org.hamcrest</groupId>
  345. </exclusion>
  346. </exclusions>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.assertj</groupId>
  350. <artifactId>assertj-core</artifactId>
  351. <version>3.18.0</version>
  352. <scope>test</scope>
  353. </dependency>
  354. <dependency>
  355. <groupId>ch.qos.logback</groupId>
  356. <artifactId>logback-classic</artifactId>
  357. <version>1.2.3</version>
  358. <scope>test</scope>
  359. <exclusions>
  360. <exclusion>
  361. <artifactId>logback-core</artifactId>
  362. <groupId>ch.qos.logback</groupId>
  363. </exclusion>
  364. </exclusions>
  365. </dependency>
  366. </dependencies>
  367. <properties>
  368. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  369. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  370. <javaModuleName>io.netty.common</javaModuleName>
  371. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  372. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  373. </properties>
  374. </project>