1
0

pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.github.diamond</groupId>
  5. <artifactId>super-diamond</artifactId>
  6. <version>1.1.0-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <modules>
  9. <module>super-diamond-client</module>
  10. <module>super-diamond-server</module>
  11. </modules>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <mavenBuildTimestamp>${maven.build.timestamp}</mavenBuildTimestamp>
  15. <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
  16. <cglib.version>3.1</cglib.version>
  17. <aspectj.version>1.7.2</aspectj.version>
  18. <spring.version>3.2.12.RELEASE</spring.version>
  19. <oracle.version>10.2.0.1.0</oracle.version>
  20. <mysql.version>5.1.31</mysql.version>
  21. <druid.version>1.0.7</druid.version>
  22. <logback.version>1.1.2</logback.version>
  23. <org.slf4j.version>1.7.7</org.slf4j.version>
  24. <netty.verison>4.0.24.Final</netty.verison>
  25. <commons-lang.version>2.6</commons-lang.version>
  26. <commons-io.version>2.3</commons-io.version>
  27. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  28. <commons-configuration.version>1.10</commons-configuration.version>
  29. <junit.version>4.11</junit.version>
  30. <jetty.version>9.2.2.v20140723</jetty.version>
  31. </properties>
  32. <dependencyManagement>
  33. <dependencies>
  34. <dependency>
  35. <groupId>cglib</groupId>
  36. <artifactId>cglib</artifactId>
  37. <version>${cglib.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.aspectj</groupId>
  41. <artifactId>aspectjweaver</artifactId>
  42. <version>${aspectj.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework</groupId>
  46. <artifactId>spring-context</artifactId>
  47. <version>${spring.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-context-support</artifactId>
  52. <version>${spring.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-jdbc</artifactId>
  57. <version>${spring.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-test</artifactId>
  62. <version>${spring.version}</version>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-web</artifactId>
  68. <version>${spring.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-webmvc</artifactId>
  73. <version>${spring.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.oracle</groupId>
  77. <artifactId>ojdbc14</artifactId>
  78. <version>${oracle.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <version>${mysql.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid</artifactId>
  88. <version>${druid.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.netty</groupId>
  92. <artifactId>netty-all</artifactId>
  93. <version>${netty.verison}</version>
  94. </dependency>
  95. <!-- slf4j -->
  96. <dependency>
  97. <groupId>ch.qos.logback</groupId>
  98. <artifactId>logback-classic</artifactId>
  99. <version>${logback.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>ch.qos.logback</groupId>
  103. <artifactId>logback-access</artifactId>
  104. <version>${logback.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.slf4j</groupId>
  108. <artifactId>jcl-over-slf4j</artifactId>
  109. <version>${org.slf4j.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.54</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-lang</groupId>
  118. <artifactId>commons-lang</artifactId>
  119. <version>${commons-lang.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>commons-fileupload</groupId>
  123. <artifactId>commons-fileupload</artifactId>
  124. <version>${commons-fileupload.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>${commons-io.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>commons-configuration</groupId>
  133. <artifactId>commons-configuration</artifactId>
  134. <version>${commons-configuration.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>junit</groupId>
  138. <artifactId>junit</artifactId>
  139. <version>${junit.version}</version>
  140. <scope>test</scope>
  141. </dependency>
  142. </dependencies>
  143. </dependencyManagement>
  144. <build>
  145. <resources>
  146. <resource>
  147. <directory>src/main/resources</directory>
  148. <filtering>true</filtering>
  149. </resource>
  150. </resources>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <version>2.3.2</version>
  156. <configuration>
  157. <source>1.7</source>
  158. <target>1.7</target>
  159. <encoding>UTF-8</encoding>
  160. </configuration>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-source-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <id>attach-sources</id>
  168. <goals>
  169. <goal>jar-no-fork</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. <configuration>
  174. <attach>true</attach>
  175. </configuration>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-eclipse-plugin</artifactId>
  180. <version>2.8</version>
  181. <configuration>
  182. <additionalConfig>
  183. <file>
  184. <name>.settings/org.eclipse.core.resources.prefs</name>
  185. <content>
  186. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
  187. </content>
  188. </file>
  189. </additionalConfig>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-surefire-plugin</artifactId>
  195. <configuration>
  196. <skipTests>false</skipTests>
  197. <argLine>-Dfile.encoding=UTF-8</argLine>
  198. </configuration>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.jacoco</groupId>
  202. <artifactId>jacoco-maven-plugin</artifactId>
  203. <version>0.7.5.201505241946</version>
  204. <executions>
  205. <execution>
  206. <goals>
  207. <goal>prepare-agent</goal>
  208. </goals>
  209. </execution>
  210. <execution>
  211. <id>report</id>
  212. <phase>test</phase>
  213. <goals>
  214. <goal>report</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <!--<plugin>-->
  220. <!--<groupId>org.apache.maven.plugins</groupId>-->
  221. <!--<artifactId>maven-shade-plugin</artifactId>-->
  222. <!--<version>2.3</version>-->
  223. <!--<executions>-->
  224. <!--<execution>-->
  225. <!--<phase>package</phase>-->
  226. <!--<goals>-->
  227. <!--<goal>shade</goal>-->
  228. <!--</goals>-->
  229. <!--<configuration>-->
  230. <!--&lt;!&ndash;<minimizeJar>true</minimizeJar>&ndash;&gt;-->
  231. <!--<transformers>-->
  232. <!--<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">-->
  233. <!--<manifestEntries>-->
  234. <!--<Build-Number>${project.version}</Build-Number>-->
  235. <!--</manifestEntries>-->
  236. <!--</transformer>-->
  237. <!--</transformers>-->
  238. <!--</configuration>-->
  239. <!--</execution>-->
  240. <!--</executions>-->
  241. <!--</plugin>-->
  242. </plugins>
  243. </build>
  244. <distributionManagement>
  245. <repository>
  246. <id>nexus-releases</id>
  247. <name>Nexuss Releses Repository</name>
  248. <url>
  249. http://repos.iflytek.com:8081/nexus/content/repositories/releases/
  250. </url>
  251. </repository>
  252. <snapshotRepository>
  253. <id>nexus-snapshots</id>
  254. <name>Nexuss Snapshots Repository</name>
  255. <url>
  256. http://repos.iflytek.com:8081/nexus/content/repositories/snapshots/
  257. </url>
  258. </snapshotRepository>
  259. </distributionManagement>
  260. </project>