netty-common-4.1.53.Final.pom 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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.53.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.0</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-all</artifactId>
  90. <version>2.4.8</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>com.oracle.substratevm</groupId>
  124. <artifactId>svm</artifactId>
  125. <version>19.0.0</version>
  126. <scope>provided</scope>
  127. <exclusions>
  128. <exclusion>
  129. <artifactId>svm-hosted-native-linux-amd64</artifactId>
  130. <groupId>com.oracle.substratevm</groupId>
  131. </exclusion>
  132. <exclusion>
  133. <artifactId>svm-hosted-native-darwin-amd64</artifactId>
  134. <groupId>com.oracle.substratevm</groupId>
  135. </exclusion>
  136. <exclusion>
  137. <artifactId>svm-hosted-native-windows-amd64</artifactId>
  138. <groupId>com.oracle.substratevm</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>com.oracle.substratevm</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>pointsto</artifactId>
  150. <groupId>com.oracle.substratevm</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.21</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>log4j</groupId>
  178. <artifactId>log4j</artifactId>
  179. <version>1.2.17</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.6.2</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.6.2</version>
  212. <scope>test</scope>
  213. </dependency>
  214. <dependency>
  215. <groupId>io.projectreactor.tools</groupId>
  216. <artifactId>blockhound</artifactId>
  217. <version>1.0.3.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.53.Final</version>
  245. <scope>test</scope>
  246. <optional>true</optional>
  247. </dependency>
  248. <dependency>
  249. <groupId>junit</groupId>
  250. <artifactId>junit</artifactId>
  251. <version>4.12</version>
  252. <scope>test</scope>
  253. <exclusions>
  254. <exclusion>
  255. <artifactId>hamcrest-core</artifactId>
  256. <groupId>org.hamcrest</groupId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <dependency>
  261. <groupId>io.netty</groupId>
  262. <artifactId>netty-build</artifactId>
  263. <version>26</version>
  264. <scope>test</scope>
  265. <exclusions>
  266. <exclusion>
  267. <artifactId>checkstyle</artifactId>
  268. <groupId>com.puppycrawl.tools</groupId>
  269. </exclusion>
  270. </exclusions>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.hamcrest</groupId>
  274. <artifactId>hamcrest-library</artifactId>
  275. <version>1.3</version>
  276. <scope>test</scope>
  277. <exclusions>
  278. <exclusion>
  279. <artifactId>hamcrest-core</artifactId>
  280. <groupId>org.hamcrest</groupId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <dependency>
  285. <groupId>ch.qos.logback</groupId>
  286. <artifactId>logback-classic</artifactId>
  287. <version>1.1.7</version>
  288. <scope>test</scope>
  289. <exclusions>
  290. <exclusion>
  291. <artifactId>logback-core</artifactId>
  292. <groupId>ch.qos.logback</groupId>
  293. </exclusion>
  294. </exclusions>
  295. </dependency>
  296. </dependencies>
  297. <properties>
  298. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  299. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  300. <javaModuleName>io.netty.common</javaModuleName>
  301. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  302. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  303. </properties>
  304. </project>