netty-common-4.1.43.Final.pom 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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.43.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. </configuration>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.codehaus.mojo</groupId>
  40. <artifactId>build-helper-maven-plugin</artifactId>
  41. <version>1.10</version>
  42. <executions>
  43. <execution>
  44. <id>add-source</id>
  45. <phase>generate-sources</phase>
  46. <goals>
  47. <goal>add-source</goal>
  48. </goals>
  49. <configuration>
  50. <sources>
  51. <source>${collection.src.dir}</source>
  52. </sources>
  53. </configuration>
  54. </execution>
  55. <execution>
  56. <id>add-test-source</id>
  57. <phase>generate-test-sources</phase>
  58. <goals>
  59. <goal>add-test-source</goal>
  60. </goals>
  61. <configuration>
  62. <sources>
  63. <source>${collection.testsrc.dir}</source>
  64. </sources>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.codehaus.gmaven</groupId>
  71. <artifactId>groovy-maven-plugin</artifactId>
  72. <version>2.0</version>
  73. <executions>
  74. <execution>
  75. <id>generate-collections</id>
  76. <phase>generate-sources</phase>
  77. <goals>
  78. <goal>execute</goal>
  79. </goals>
  80. <configuration>
  81. <source>${project.basedir}/src/main/script/codegen.groovy</source>
  82. </configuration>
  83. </execution>
  84. </executions>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.codehaus.groovy</groupId>
  88. <artifactId>groovy-all</artifactId>
  89. <version>2.4.8</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>ant</groupId>
  93. <artifactId>ant-optional</artifactId>
  94. <version>1.5.3-1</version>
  95. </dependency>
  96. </dependencies>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.felix</groupId>
  100. <artifactId>maven-bundle-plugin</artifactId>
  101. <version>2.5.4</version>
  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>com.oracle.substratevm</groupId>
  123. <artifactId>svm</artifactId>
  124. <version>19.0.0</version>
  125. <scope>provided</scope>
  126. <exclusions>
  127. <exclusion>
  128. <artifactId>svm-hosted-native-linux-amd64</artifactId>
  129. <groupId>com.oracle.substratevm</groupId>
  130. </exclusion>
  131. <exclusion>
  132. <artifactId>svm-hosted-native-darwin-amd64</artifactId>
  133. <groupId>com.oracle.substratevm</groupId>
  134. </exclusion>
  135. <exclusion>
  136. <artifactId>svm-hosted-native-windows-amd64</artifactId>
  137. <groupId>com.oracle.substratevm</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>com.oracle.substratevm</groupId>
  146. </exclusion>
  147. <exclusion>
  148. <artifactId>pointsto</artifactId>
  149. <groupId>com.oracle.substratevm</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.slf4j</groupId>
  163. <artifactId>slf4j-api</artifactId>
  164. <version>1.7.21</version>
  165. <scope>compile</scope>
  166. <optional>true</optional>
  167. </dependency>
  168. <dependency>
  169. <groupId>commons-logging</groupId>
  170. <artifactId>commons-logging</artifactId>
  171. <version>1.2</version>
  172. <scope>compile</scope>
  173. <optional>true</optional>
  174. </dependency>
  175. <dependency>
  176. <groupId>log4j</groupId>
  177. <artifactId>log4j</artifactId>
  178. <version>1.2.17</version>
  179. <scope>compile</scope>
  180. <exclusions>
  181. <exclusion>
  182. <artifactId>mail</artifactId>
  183. <groupId>javax.mail</groupId>
  184. </exclusion>
  185. <exclusion>
  186. <artifactId>jms</artifactId>
  187. <groupId>javax.jms</groupId>
  188. </exclusion>
  189. <exclusion>
  190. <artifactId>jmxtools</artifactId>
  191. <groupId>com.sun.jdmk</groupId>
  192. </exclusion>
  193. <exclusion>
  194. <artifactId>jmxri</artifactId>
  195. <groupId>com.sun.jmx</groupId>
  196. </exclusion>
  197. </exclusions>
  198. <optional>true</optional>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.logging.log4j</groupId>
  202. <artifactId>log4j-api</artifactId>
  203. <version>2.6.2</version>
  204. <scope>compile</scope>
  205. <optional>true</optional>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.logging.log4j</groupId>
  209. <artifactId>log4j-core</artifactId>
  210. <version>2.6.2</version>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.mockito</groupId>
  215. <artifactId>mockito-core</artifactId>
  216. <version>2.18.3</version>
  217. <scope>test</scope>
  218. <exclusions>
  219. <exclusion>
  220. <artifactId>byte-buddy</artifactId>
  221. <groupId>net.bytebuddy</groupId>
  222. </exclusion>
  223. <exclusion>
  224. <artifactId>byte-buddy-agent</artifactId>
  225. <groupId>net.bytebuddy</groupId>
  226. </exclusion>
  227. <exclusion>
  228. <artifactId>objenesis</artifactId>
  229. <groupId>org.objenesis</groupId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <dependency>
  234. <groupId>io.netty</groupId>
  235. <artifactId>netty-dev-tools</artifactId>
  236. <version>4.1.43.Final</version>
  237. <scope>test</scope>
  238. <optional>true</optional>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.javassist</groupId>
  242. <artifactId>javassist</artifactId>
  243. <version>3.20.0-GA</version>
  244. <scope>test</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>junit</groupId>
  248. <artifactId>junit</artifactId>
  249. <version>4.12</version>
  250. <scope>test</scope>
  251. <exclusions>
  252. <exclusion>
  253. <artifactId>hamcrest-core</artifactId>
  254. <groupId>org.hamcrest</groupId>
  255. </exclusion>
  256. </exclusions>
  257. </dependency>
  258. <dependency>
  259. <groupId>io.netty</groupId>
  260. <artifactId>netty-build</artifactId>
  261. <version>25</version>
  262. <scope>test</scope>
  263. <exclusions>
  264. <exclusion>
  265. <artifactId>checkstyle</artifactId>
  266. <groupId>com.puppycrawl.tools</groupId>
  267. </exclusion>
  268. </exclusions>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.hamcrest</groupId>
  272. <artifactId>hamcrest-library</artifactId>
  273. <version>1.3</version>
  274. <scope>test</scope>
  275. <exclusions>
  276. <exclusion>
  277. <artifactId>hamcrest-core</artifactId>
  278. <groupId>org.hamcrest</groupId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>ch.qos.logback</groupId>
  284. <artifactId>logback-classic</artifactId>
  285. <version>1.1.7</version>
  286. <scope>test</scope>
  287. <exclusions>
  288. <exclusion>
  289. <artifactId>logback-core</artifactId>
  290. <groupId>ch.qos.logback</groupId>
  291. </exclusion>
  292. </exclusions>
  293. </dependency>
  294. </dependencies>
  295. <properties>
  296. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  297. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  298. <javaModuleName>io.netty.common</javaModuleName>
  299. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  300. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  301. </properties>
  302. </project>