pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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.58</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.google.zxing</groupId>
  32. <artifactId>core</artifactId>
  33. <version>3.3.1</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.google.zxing</groupId>
  37. <artifactId>javase</artifactId>
  38. <version>3.3.1</version>
  39. </dependency>
  40. <!-- MySql and 连接池 -->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. <version>${mysql.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.transaction</groupId>
  48. <artifactId>jta</artifactId>
  49. <version>${jta.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid</artifactId>
  54. <version>${druid.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.commons</groupId>
  58. <artifactId>commons-lang3</artifactId>
  59. <version>${commons-lang3.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-io</artifactId>
  64. <version>${commons-io.version}</version>
  65. </dependency>
  66. <!--简化代码-->
  67. <dependency>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. <version>${lombok.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-data-jpa</artifactId>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. <!-- 引入 spring-boot-starter-redis -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-data-redis</artifactId>
  86. <version>1.5.7.RELEASE</version>
  87. </dependency>
  88. <!--log 相关-->
  89. <dependency>
  90. <groupId>log4j</groupId>
  91. <artifactId>log4j</artifactId>
  92. <version>1.2.16</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>slf4j-api</artifactId>
  97. <version>1.7.21</version>
  98. </dependency>
  99. <!--fastjson 引入 -->
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>fastjson</artifactId>
  103. <version>1.2.58</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>javax.servlet</groupId>
  107. <artifactId>javax.servlet-api</artifactId>
  108. <version>${servlet-api.version}</version>
  109. <scope>provided</scope>
  110. </dependency>
  111. </dependencies>
  112. <dependencyManagement>
  113. <dependencies>
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter</artifactId>
  117. <version>1.5.7.RELEASE</version>
  118. <type>pom</type>
  119. <scope>import</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework</groupId>
  123. <artifactId>spring-core</artifactId>
  124. <version>${version-spring}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-webmvc</artifactId>
  129. <version>${version-spring}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-context</artifactId>
  134. <version>${version-spring}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework</groupId>
  138. <artifactId>spring-orm</artifactId>
  139. <version>${version-spring}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework</groupId>
  143. <artifactId>spring-context-support</artifactId>
  144. <version>4.2.6.RELEASE</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>javax.servlet</groupId>
  148. <artifactId>javax.servlet-api</artifactId>
  149. <version>3.1.0</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.hibernate.javax.persistence</groupId>
  154. <artifactId>hibernate-jpa-2.1-api</artifactId>
  155. <version>1.0.0.Final</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.commons</groupId>
  159. <artifactId>commons-lang3</artifactId>
  160. <version>3.4</version>
  161. </dependency>
  162. </dependencies>
  163. </dependencyManagement>
  164. <build>
  165. <plugins>
  166. <!--编译 打包 -->
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-compiler-plugin</artifactId>
  170. <version>2.3.2</version>
  171. <configuration>
  172. <source>1.8</source>
  173. <target>1.8</target>
  174. <encoding>UTF-8</encoding>
  175. </configuration>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-release-plugin</artifactId>
  180. <version>2.5.3</version>
  181. <configuration>
  182. <useReleaseProfile>false</useReleaseProfile>
  183. <autoVersionSubmodules>true</autoVersionSubmodules>
  184. </configuration>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. <repositories>
  189. <repository>
  190. <id>nexus</id>
  191. <url>http://192.168.1.96:8081/nexus/content/groups/public/</url>
  192. <layout>default</layout>
  193. <releases>
  194. <enabled>true</enabled>
  195. </releases>
  196. <snapshots>
  197. <enabled>true</enabled>
  198. </snapshots>
  199. </repository>
  200. </repositories>
  201. <distributionManagement>
  202. <repository>
  203. <id>nexus-releases</id>
  204. <name>Releases</name>
  205. <url>http://192.168.1.96:8081/nexus/content/repositories/releases/</url>
  206. </repository>
  207. <snapshotRepository>
  208. <id>nexus-snapshots</id>
  209. <name>Snapshots</name>
  210. <url>http://192.168.1.96:8081/nexus/content/repositories/snapshots/</url>
  211. </snapshotRepository>
  212. </distributionManagement>
  213. </project>