netty-common-4.1.48.Final.pom 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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.48.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. <version>1.10</version>
  44. <executions>
  45. <execution>
  46. <id>add-source</id>
  47. <phase>generate-sources</phase>
  48. <goals>
  49. <goal>add-source</goal>
  50. </goals>
  51. <configuration>
  52. <sources>
  53. <source>${collection.src.dir}</source>
  54. </sources>
  55. </configuration>
  56. </execution>
  57. <execution>
  58. <id>add-test-source</id>
  59. <phase>generate-test-sources</phase>
  60. <goals>
  61. <goal>add-test-source</goal>
  62. </goals>
  63. <configuration>
  64. <sources>
  65. <source>${collection.testsrc.dir}</source>
  66. </sources>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.codehaus.gmaven</groupId>
  73. <artifactId>groovy-maven-plugin</artifactId>
  74. <version>2.0</version>
  75. <executions>
  76. <execution>
  77. <id>generate-collections</id>
  78. <phase>generate-sources</phase>
  79. <goals>
  80. <goal>execute</goal>
  81. </goals>
  82. <configuration>
  83. <source>${project.basedir}/src/main/script/codegen.groovy</source>
  84. </configuration>
  85. </execution>
  86. </executions>
  87. <dependencies>
  88. <dependency>
  89. <groupId>org.codehaus.groovy</groupId>
  90. <artifactId>groovy-all</artifactId>
  91. <version>2.4.8</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>ant</groupId>
  95. <artifactId>ant-optional</artifactId>
  96. <version>1.5.3-1</version>
  97. </dependency>
  98. </dependencies>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.felix</groupId>
  102. <artifactId>maven-bundle-plugin</artifactId>
  103. <version>2.5.4</version>
  104. <executions>
  105. <execution>
  106. <id>generate-manifest</id>
  107. <phase>process-classes</phase>
  108. <goals>
  109. <goal>manifest</goal>
  110. </goals>
  111. <configuration>
  112. <instructions>
  113. <DynamicImport-Package>*</DynamicImport-Package>
  114. <Import-Package>!org.jctools.*;sun.misc;resolution:=optional;*</Import-Package>
  115. </instructions>
  116. </configuration>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. <dependencies>
  123. <dependency>
  124. <groupId>com.oracle.substratevm</groupId>
  125. <artifactId>svm</artifactId>
  126. <version>19.0.0</version>
  127. <scope>provided</scope>
  128. <exclusions>
  129. <exclusion>
  130. <artifactId>svm-hosted-native-linux-amd64</artifactId>
  131. <groupId>com.oracle.substratevm</groupId>
  132. </exclusion>
  133. <exclusion>
  134. <artifactId>svm-hosted-native-darwin-amd64</artifactId>
  135. <groupId>com.oracle.substratevm</groupId>
  136. </exclusion>
  137. <exclusion>
  138. <artifactId>svm-hosted-native-windows-amd64</artifactId>
  139. <groupId>com.oracle.substratevm</groupId>
  140. </exclusion>
  141. <exclusion>
  142. <artifactId>graal-sdk</artifactId>
  143. <groupId>org.graalvm.sdk</groupId>
  144. </exclusion>
  145. <exclusion>
  146. <artifactId>objectfile</artifactId>
  147. <groupId>com.oracle.substratevm</groupId>
  148. </exclusion>
  149. <exclusion>
  150. <artifactId>pointsto</artifactId>
  151. <groupId>com.oracle.substratevm</groupId>
  152. </exclusion>
  153. <exclusion>
  154. <artifactId>truffle-nfi</artifactId>
  155. <groupId>org.graalvm.truffle</groupId>
  156. </exclusion>
  157. <exclusion>
  158. <artifactId>compiler</artifactId>
  159. <groupId>org.graalvm.compiler</groupId>
  160. </exclusion>
  161. </exclusions>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.slf4j</groupId>
  165. <artifactId>slf4j-api</artifactId>
  166. <version>1.7.21</version>
  167. <scope>compile</scope>
  168. <optional>true</optional>
  169. </dependency>
  170. <dependency>
  171. <groupId>commons-logging</groupId>
  172. <artifactId>commons-logging</artifactId>
  173. <version>1.2</version>
  174. <scope>compile</scope>
  175. <optional>true</optional>
  176. </dependency>
  177. <dependency>
  178. <groupId>log4j</groupId>
  179. <artifactId>log4j</artifactId>
  180. <version>1.2.17</version>
  181. <scope>compile</scope>
  182. <exclusions>
  183. <exclusion>
  184. <artifactId>mail</artifactId>
  185. <groupId>javax.mail</groupId>
  186. </exclusion>
  187. <exclusion>
  188. <artifactId>jms</artifactId>
  189. <groupId>javax.jms</groupId>
  190. </exclusion>
  191. <exclusion>
  192. <artifactId>jmxtools</artifactId>
  193. <groupId>com.sun.jdmk</groupId>
  194. </exclusion>
  195. <exclusion>
  196. <artifactId>jmxri</artifactId>
  197. <groupId>com.sun.jmx</groupId>
  198. </exclusion>
  199. </exclusions>
  200. <optional>true</optional>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.logging.log4j</groupId>
  204. <artifactId>log4j-api</artifactId>
  205. <version>2.6.2</version>
  206. <scope>compile</scope>
  207. <optional>true</optional>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.logging.log4j</groupId>
  211. <artifactId>log4j-core</artifactId>
  212. <version>2.6.2</version>
  213. <scope>test</scope>
  214. </dependency>
  215. <dependency>
  216. <groupId>io.projectreactor.tools</groupId>
  217. <artifactId>blockhound</artifactId>
  218. <version>1.0.2.RELEASE</version>
  219. <scope>compile</scope>
  220. <optional>true</optional>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.mockito</groupId>
  224. <artifactId>mockito-core</artifactId>
  225. <version>2.18.3</version>
  226. <scope>test</scope>
  227. <exclusions>
  228. <exclusion>
  229. <artifactId>byte-buddy</artifactId>
  230. <groupId>net.bytebuddy</groupId>
  231. </exclusion>
  232. <exclusion>
  233. <artifactId>byte-buddy-agent</artifactId>
  234. <groupId>net.bytebuddy</groupId>
  235. </exclusion>
  236. <exclusion>
  237. <artifactId>objenesis</artifactId>
  238. <groupId>org.objenesis</groupId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>io.netty</groupId>
  244. <artifactId>netty-dev-tools</artifactId>
  245. <version>4.1.48.Final</version>
  246. <scope>test</scope>
  247. <optional>true</optional>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.javassist</groupId>
  251. <artifactId>javassist</artifactId>
  252. <version>3.20.0-GA</version>
  253. <scope>test</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>junit</groupId>
  257. <artifactId>junit</artifactId>
  258. <version>4.12</version>
  259. <scope>test</scope>
  260. <exclusions>
  261. <exclusion>
  262. <artifactId>hamcrest-core</artifactId>
  263. <groupId>org.hamcrest</groupId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <dependency>
  268. <groupId>io.netty</groupId>
  269. <artifactId>netty-build</artifactId>
  270. <version>26</version>
  271. <scope>test</scope>
  272. <exclusions>
  273. <exclusion>
  274. <artifactId>checkstyle</artifactId>
  275. <groupId>com.puppycrawl.tools</groupId>
  276. </exclusion>
  277. </exclusions>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.hamcrest</groupId>
  281. <artifactId>hamcrest-library</artifactId>
  282. <version>1.3</version>
  283. <scope>test</scope>
  284. <exclusions>
  285. <exclusion>
  286. <artifactId>hamcrest-core</artifactId>
  287. <groupId>org.hamcrest</groupId>
  288. </exclusion>
  289. </exclusions>
  290. </dependency>
  291. <dependency>
  292. <groupId>ch.qos.logback</groupId>
  293. <artifactId>logback-classic</artifactId>
  294. <version>1.1.7</version>
  295. <scope>test</scope>
  296. <exclusions>
  297. <exclusion>
  298. <artifactId>logback-core</artifactId>
  299. <groupId>ch.qos.logback</groupId>
  300. </exclusion>
  301. </exclusions>
  302. </dependency>
  303. </dependencies>
  304. <properties>
  305. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  306. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  307. <javaModuleName>io.netty.common</javaModuleName>
  308. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  309. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  310. </properties>
  311. </project>