pom.xml 8.0 KB

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