pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>cn.efunbox.manage</groupId>
  6. <artifactId>manage-root</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>efunbox-manage-root</name>
  10. <modules>
  11. <module>efunbox-base/efunbox-base-api</module>
  12. <module>efunbox-base/efunbox-base-web</module>
  13. <module>manage-common</module>
  14. </modules>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <commons-lang3.version>3.3.2</commons-lang3.version>
  20. <fastjson.version>1.2.38</fastjson.version>
  21. <druid.version>1.0.23</druid.version>
  22. <mysql.version>5.1.38</mysql.version>
  23. <jta.version>1.1</jta.version>
  24. <commons-io.version>1.3.2</commons-io.version>
  25. <lombok.version>1.16.16</lombok.version>
  26. <servlet-api.version>3.1.0</servlet-api.version>
  27. <version-spring>4.3.11.RELEASE</version-spring>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>com.alibaba</groupId>
  32. <artifactId>fastjson</artifactId>
  33. <version>1.2.6</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.google.zxing</groupId>
  37. <artifactId>core</artifactId>
  38. <version>3.3.1</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.google.zxing</groupId>
  42. <artifactId>javase</artifactId>
  43. <version>3.3.1</version>
  44. </dependency>
  45. <!-- MySql and 连接池 -->
  46. <dependency>
  47. <groupId>mysql</groupId>
  48. <artifactId>mysql-connector-java</artifactId>
  49. <version>${mysql.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>javax.transaction</groupId>
  53. <artifactId>jta</artifactId>
  54. <version>${jta.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid</artifactId>
  59. <version>${druid.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-lang3</artifactId>
  64. <version>${commons-lang3.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-io</artifactId>
  69. <version>${commons-io.version}</version>
  70. </dependency>
  71. <!--简化代码-->
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>${lombok.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-jpa</artifactId>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <!-- 引入 spring-boot-starter-redis -->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-data-redis</artifactId>
  91. <version>1.5.7.RELEASE</version>
  92. </dependency>
  93. <!--log 相关-->
  94. <dependency>
  95. <groupId>log4j</groupId>
  96. <artifactId>log4j</artifactId>
  97. <version>1.2.16</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.slf4j</groupId>
  101. <artifactId>slf4j-api</artifactId>
  102. <version>1.7.21</version>
  103. </dependency>
  104. <!--fastjson 引入 -->
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>fastjson</artifactId>
  108. <version>1.2.38</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>javax.servlet</groupId>
  112. <artifactId>javax.servlet-api</artifactId>
  113. <version>${servlet-api.version}</version>
  114. <scope>provided</scope>
  115. </dependency>
  116. </dependencies>
  117. <dependencyManagement>
  118. <dependencies>
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-starter</artifactId>
  122. <version>1.5.7.RELEASE</version>
  123. <type>pom</type>
  124. <scope>import</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-core</artifactId>
  129. <version>${version-spring}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-webmvc</artifactId>
  134. <version>${version-spring}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework</groupId>
  138. <artifactId>spring-context</artifactId>
  139. <version>${version-spring}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework</groupId>
  143. <artifactId>spring-orm</artifactId>
  144. <version>${version-spring}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-context-support</artifactId>
  149. <version>4.2.6.RELEASE</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>javax.servlet</groupId>
  153. <artifactId>javax.servlet-api</artifactId>
  154. <version>3.1.0</version>
  155. <scope>provided</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.hibernate.javax.persistence</groupId>
  159. <artifactId>hibernate-jpa-2.1-api</artifactId>
  160. <version>1.0.0.Final</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.commons</groupId>
  164. <artifactId>commons-lang3</artifactId>
  165. <version>3.4</version>
  166. </dependency>
  167. </dependencies>
  168. </dependencyManagement>
  169. <build>
  170. <plugins>
  171. <!--编译 打包 -->
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-compiler-plugin</artifactId>
  175. <version>2.3.2</version>
  176. <configuration>
  177. <source>1.8</source>
  178. <target>1.8</target>
  179. <encoding>UTF-8</encoding>
  180. </configuration>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-release-plugin</artifactId>
  185. <version>2.5.3</version>
  186. <configuration>
  187. <useReleaseProfile>false</useReleaseProfile>
  188. <autoVersionSubmodules>true</autoVersionSubmodules>
  189. </configuration>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. <repositories>
  194. <repository>
  195. <id>nexus</id>
  196. <url>http://192.168.1.96:8081/nexus/content/groups/public/</url>
  197. <layout>default</layout>
  198. <releases>
  199. <enabled>true</enabled>
  200. </releases>
  201. <snapshots>
  202. <enabled>true</enabled>
  203. </snapshots>
  204. </repository>
  205. </repositories>
  206. <distributionManagement>
  207. <repository>
  208. <id>nexus-releases</id>
  209. <name>Releases</name>
  210. <url>http://192.168.1.96:8081/nexus/content/repositories/releases/</url>
  211. </repository>
  212. <snapshotRepository>
  213. <id>nexus-snapshots</id>
  214. <name>Snapshots</name>
  215. <url>http://192.168.1.96:8081/nexus/content/repositories/snapshots/</url>
  216. </snapshotRepository>
  217. </distributionManagement>
  218. </project>