netty-common-4.1.31.Final.pom 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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.31.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>org.slf4j</groupId>
  123. <artifactId>slf4j-api</artifactId>
  124. <version>1.7.21</version>
  125. <scope>compile</scope>
  126. <optional>true</optional>
  127. </dependency>
  128. <dependency>
  129. <groupId>commons-logging</groupId>
  130. <artifactId>commons-logging</artifactId>
  131. <version>1.2</version>
  132. <scope>compile</scope>
  133. <optional>true</optional>
  134. </dependency>
  135. <dependency>
  136. <groupId>log4j</groupId>
  137. <artifactId>log4j</artifactId>
  138. <version>1.2.17</version>
  139. <scope>compile</scope>
  140. <exclusions>
  141. <exclusion>
  142. <artifactId>mail</artifactId>
  143. <groupId>javax.mail</groupId>
  144. </exclusion>
  145. <exclusion>
  146. <artifactId>jms</artifactId>
  147. <groupId>javax.jms</groupId>
  148. </exclusion>
  149. <exclusion>
  150. <artifactId>jmxtools</artifactId>
  151. <groupId>com.sun.jdmk</groupId>
  152. </exclusion>
  153. <exclusion>
  154. <artifactId>jmxri</artifactId>
  155. <groupId>com.sun.jmx</groupId>
  156. </exclusion>
  157. </exclusions>
  158. <optional>true</optional>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.logging.log4j</groupId>
  162. <artifactId>log4j-api</artifactId>
  163. <version>2.6.2</version>
  164. <scope>compile</scope>
  165. <optional>true</optional>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.logging.log4j</groupId>
  169. <artifactId>log4j-core</artifactId>
  170. <version>2.6.2</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.mockito</groupId>
  175. <artifactId>mockito-core</artifactId>
  176. <version>2.18.3</version>
  177. <scope>test</scope>
  178. <exclusions>
  179. <exclusion>
  180. <artifactId>byte-buddy</artifactId>
  181. <groupId>net.bytebuddy</groupId>
  182. </exclusion>
  183. <exclusion>
  184. <artifactId>byte-buddy-agent</artifactId>
  185. <groupId>net.bytebuddy</groupId>
  186. </exclusion>
  187. <exclusion>
  188. <artifactId>objenesis</artifactId>
  189. <groupId>org.objenesis</groupId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <dependency>
  194. <groupId>io.netty</groupId>
  195. <artifactId>netty-dev-tools</artifactId>
  196. <version>4.1.31.Final</version>
  197. <scope>test</scope>
  198. <optional>true</optional>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.javassist</groupId>
  202. <artifactId>javassist</artifactId>
  203. <version>3.20.0-GA</version>
  204. <scope>test</scope>
  205. </dependency>
  206. <dependency>
  207. <groupId>junit</groupId>
  208. <artifactId>junit</artifactId>
  209. <version>4.12</version>
  210. <scope>test</scope>
  211. <exclusions>
  212. <exclusion>
  213. <artifactId>hamcrest-core</artifactId>
  214. <groupId>org.hamcrest</groupId>
  215. </exclusion>
  216. </exclusions>
  217. </dependency>
  218. <dependency>
  219. <groupId>io.netty</groupId>
  220. <artifactId>netty-build</artifactId>
  221. <version>22</version>
  222. <scope>test</scope>
  223. <exclusions>
  224. <exclusion>
  225. <artifactId>checkstyle</artifactId>
  226. <groupId>com.puppycrawl.tools</groupId>
  227. </exclusion>
  228. </exclusions>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.hamcrest</groupId>
  232. <artifactId>hamcrest-library</artifactId>
  233. <version>1.3</version>
  234. <scope>test</scope>
  235. <exclusions>
  236. <exclusion>
  237. <artifactId>hamcrest-core</artifactId>
  238. <groupId>org.hamcrest</groupId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>ch.qos.logback</groupId>
  244. <artifactId>logback-classic</artifactId>
  245. <version>1.1.7</version>
  246. <scope>test</scope>
  247. <exclusions>
  248. <exclusion>
  249. <artifactId>logback-core</artifactId>
  250. <groupId>ch.qos.logback</groupId>
  251. </exclusion>
  252. </exclusions>
  253. </dependency>
  254. </dependencies>
  255. <properties>
  256. <collection.template.test.dir>${project.basedir}/src/test/templates</collection.template.test.dir>
  257. <collection.testsrc.dir>${project.build.directory}/generated-test-sources/collections/java</collection.testsrc.dir>
  258. <javaModuleName>io.netty.common</javaModuleName>
  259. <collection.template.dir>${project.basedir}/src/main/templates</collection.template.dir>
  260. <collection.src.dir>${project.build.directory}/generated-sources/collections/java</collection.src.dir>
  261. </properties>
  262. </project>