pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.j-im</groupId>
  5. <artifactId>jim-parent</artifactId>
  6. <packaging>pom</packaging>
  7. <name>${project.artifactId}</name>
  8. <version>2.6.0.v20190114-RELEASE</version>
  9. <description>Jim-parent is the dependent parent project of J-IM communication establishment.</description>
  10. <url>http://www.j-im.org/</url>
  11. <licenses>
  12. <license>
  13. <name>The Apache Software License, Version 2.0</name>
  14. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  15. </license>
  16. </licenses>
  17. <developers>
  18. <developer>
  19. <id>wchao</id>
  20. <name>wchao</name>
  21. <email>wchaojava@163.com</email>
  22. <url>http://git.oschina.net/xchao/j-im</url>
  23. </developer>
  24. </developers>
  25. <scm>
  26. <connection>scm:git:git@gitee.com:xchao/j-im.git</connection>
  27. <developerConnection>scm:git:git@gitee.com:xchao/j-im.git</developerConnection>
  28. <url>git@gitee.com:xchao/j-im.git</url>
  29. </scm>
  30. <modules>
  31. <module>../jim-common</module>
  32. <module>../jim-server</module>
  33. <module>../server-chat</module>
  34. </modules>
  35. <properties>
  36. <jim.version>2.6.0.v20190114-RELEASE</jim.version>
  37. <tio-core.version>2.4.0.v20180508-RELEASE</tio-core.version>
  38. <tio-utils.version>2.4.0.v20180508-RELEASE</tio-utils.version>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  41. <maven.test.skip>true</maven.test.skip>
  42. <maven.version>3.5.0</maven.version>
  43. <mysql.driver.version>8.0.17</mysql.driver.version>
  44. <druid.version>1.1.2</druid.version>
  45. <jfinal.version>3.2</jfinal.version>
  46. <logback.version>1.2.3</logback.version>
  47. <slf4j.version>1.7.25</slf4j.version>
  48. <jdk.version>1.8</jdk.version>
  49. <junit.version>4.12</junit.version>
  50. <commons-collections4.version>4.1</commons-collections4.version>
  51. <commons-io.version>2.5</commons-io.version>
  52. <commons-lang3.version>3.6</commons-lang3.version>
  53. <commons-codec.version>1.10</commons-codec.version>
  54. <commons-compress.version>1.14</commons-compress.version>
  55. <fastjson.version>1.2.35</fastjson.version>
  56. <testng.version>6.11</testng.version>
  57. <hutool.version>4.0.10</hutool.version>
  58. <commons-beanutils.version>1.9.3</commons-beanutils.version>
  59. <jedis.version>2.7.3</jedis.version>
  60. <redisson.version>3.7.0</redisson.version>
  61. <j2cache.version>2.3.21-release</j2cache.version>
  62. <quartz.version>2.3.0</quartz.version>
  63. </properties>
  64. <repositories>
  65. </repositories>
  66. <pluginRepositories>
  67. </pluginRepositories>
  68. <dependencyManagement>
  69. <dependencies>
  70. <dependency>
  71. <groupId>org.t-io</groupId>
  72. <artifactId>tio-utils</artifactId>
  73. <version>${tio-utils.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.t-io</groupId>
  77. <artifactId>tio-core</artifactId>
  78. <version>${tio-core.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.j-im</groupId>
  82. <artifactId>jim-common</artifactId>
  83. <version>${jim.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.j-im</groupId>
  87. <artifactId>jim-server</artifactId>
  88. <version>${jim.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.j-im</groupId>
  92. <artifactId>jim-client</artifactId>
  93. <version>${jim.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.jfinal</groupId>
  97. <artifactId>jfinal</artifactId>
  98. <version>${jfinal.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>redis.clients</groupId>
  102. <artifactId>jedis</artifactId>
  103. <version>${jedis.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.redisson</groupId>
  107. <artifactId>redisson</artifactId>
  108. <version>${redisson.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-beanutils</groupId>
  112. <artifactId>commons-beanutils</artifactId>
  113. <version>${commons-beanutils.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <version>${mysql.driver.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.alibaba</groupId>
  122. <artifactId>druid</artifactId>
  123. <version>${druid.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>net.sf.ehcache</groupId>
  127. <artifactId>ehcache-core</artifactId>
  128. <version>2.6.11</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.squareup.okhttp3</groupId>
  132. <artifactId>okhttp</artifactId>
  133. <version>3.8.1</version>
  134. </dependency>
  135. <!-- log framework start -->
  136. <dependency>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>slf4j-log4j12</artifactId>
  139. <version>${slf4j.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.slf4j</groupId>
  143. <artifactId>slf4j-ext</artifactId>
  144. <version>${slf4j.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-api</artifactId>
  149. <version>${slf4j.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>ch.qos.logback</groupId>
  153. <artifactId>logback-classic</artifactId>
  154. <version>${logback.version}</version>
  155. </dependency>
  156. <!-- redirect apache commons logging -->
  157. <dependency>
  158. <groupId>org.slf4j</groupId>
  159. <artifactId>jcl-over-slf4j</artifactId>
  160. <version>${slf4j.version}</version>
  161. </dependency>
  162. <!-- redirect jdk util logging -->
  163. <dependency>
  164. <groupId>org.slf4j</groupId>
  165. <artifactId>jul-to-slf4j</artifactId>
  166. <version>${slf4j.version}</version>
  167. </dependency>
  168. <!-- redirect log4j -->
  169. <dependency>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>log4j-over-slf4j</artifactId>
  172. <version>${slf4j.version}</version>
  173. </dependency>
  174. <!-- log framework end -->
  175. <dependency>
  176. <groupId>junit</groupId>
  177. <artifactId>junit</artifactId>
  178. <version>${junit.version}</version>
  179. </dependency>
  180. <!-- logback-access访问模块与Servlet容器集成提供通过Http来访问日记的功能 -->
  181. <dependency>
  182. <groupId>ch.qos.logback</groupId>
  183. <artifactId>logback-access</artifactId>
  184. <version>${logback.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>ch.qos.logback</groupId>
  188. <artifactId>logback-core</artifactId>
  189. <version>${logback.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.commons</groupId>
  193. <artifactId>commons-collections4</artifactId>
  194. <version>${commons-collections4.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.commons</groupId>
  198. <artifactId>commons-lang3</artifactId>
  199. <version>${commons-lang3.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>commons-io</groupId>
  203. <artifactId>commons-io</artifactId>
  204. <version>${commons-io.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>commons-codec</groupId>
  208. <artifactId>commons-codec</artifactId>
  209. <version>${commons-codec.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.alibaba</groupId>
  213. <artifactId>fastjson</artifactId>
  214. <version>${fastjson.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.testng</groupId>
  218. <artifactId>testng</artifactId>
  219. <version>${testng.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.apache.commons</groupId>
  223. <artifactId>commons-compress</artifactId>
  224. <version>${commons-compress.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.jsoup</groupId>
  228. <artifactId>jsoup</artifactId>
  229. <version>1.10.3</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>io.springside</groupId>
  233. <artifactId>springside-utils</artifactId>
  234. <version>5.0.0-RC1</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.google.guava</groupId>
  238. <artifactId>guava</artifactId>
  239. <version>23.0</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>nl.basjes.parse.useragent</groupId>
  243. <artifactId>yauaa</artifactId>
  244. <version>1.4</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.typesafe</groupId>
  248. <artifactId>config</artifactId>
  249. <version>1.3.1</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>net.oschina.j2cache</groupId>
  253. <artifactId>j2cache-core</artifactId>
  254. <version>${j2cache.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.quartz-scheduler</groupId>
  258. <artifactId>quartz</artifactId>
  259. <version>${quartz.version}</version>
  260. </dependency>
  261. </dependencies>
  262. </dependencyManagement>
  263. <!-- 插件配置 -->
  264. <build>
  265. <plugins>
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-deploy-plugin</artifactId>
  269. <configuration>
  270. <skip>true</skip>
  271. </configuration>
  272. </plugin>
  273. </plugins>
  274. <!-- 适配idea下生成不了配置文件问题 -->
  275. <resources>
  276. <resource>
  277. <directory>src/main/java</directory>
  278. <excludes>
  279. <exclude>**/*.java</exclude>
  280. </excludes>
  281. </resource>
  282. <resource>
  283. <directory>src/main/resources</directory>
  284. </resource>
  285. </resources>
  286. </build>
  287. <profiles>
  288. <profile>
  289. <id>release</id>
  290. <distributionManagement>
  291. <snapshotRepository>
  292. <id>oss</id>
  293. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  294. </snapshotRepository>
  295. <repository>
  296. <id>oss</id>
  297. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  298. </repository>
  299. </distributionManagement>
  300. <build>
  301. <plugins>
  302. <!-- Source -->
  303. <plugin>
  304. <groupId>org.apache.maven.plugins</groupId>
  305. <artifactId>maven-source-plugin</artifactId>
  306. <version>3.0.1</version>
  307. <executions>
  308. <execution>
  309. <phase>package</phase>
  310. <goals>
  311. <goal>jar-no-fork</goal>
  312. </goals>
  313. </execution>
  314. </executions>
  315. </plugin>
  316. <!-- Javadoc -->
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-javadoc-plugin</artifactId>
  320. <version>2.10.4</version>
  321. <configuration><additionalparam>-Xdoclint:none</additionalparam></configuration>
  322. <executions>
  323. <execution>
  324. <phase>package</phase>
  325. <goals>
  326. <goal>jar</goal>
  327. </goals>
  328. </execution>
  329. </executions>
  330. </plugin>
  331. <!-- GPG -->
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-gpg-plugin</artifactId>
  335. <version>1.6</version>
  336. <executions>
  337. <execution>
  338. <id>sign-artifacts</id>
  339. <phase>verify</phase>
  340. <goals>
  341. <goal>sign</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. </plugins>
  347. </build>
  348. </profile>
  349. </profiles>
  350. </project>