pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <modules>
  7. <module>base-servers</module>
  8. <module>framework</module>
  9. <module>applications</module>
  10. </modules>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.4.RELEASE</version>
  15. </parent>
  16. <groupId>com.usoftchina.saas</groupId>
  17. <artifactId>saas-platform</artifactId>
  18. <packaging>pom</packaging>
  19. <version>1.0.0</version>
  20. <description>saas framework parent</description>
  21. <properties>
  22. <java.version>1.8</java.version>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  25. <spring.boot.version>2.0.4.RELEASE</spring.boot.version>
  26. <spring.cloud.version>Finchley.SR1</spring.cloud.version>
  27. <spring.boot.admin.version>2.0.2</spring.boot.admin.version>
  28. <mysql.version>6.0.6</mysql.version>
  29. <mybatis.spring.boot.version>1.3.1</mybatis.spring.boot.version>
  30. <fastjson.version>1.2.44</fastjson.version>
  31. <alibaba.druid.version>1.1.6</alibaba.druid.version>
  32. <zipkin.version>2.11.5</zipkin.version>
  33. <pagehelper.starter.version>1.2.7</pagehelper.starter.version>
  34. <shiro.version>1.4.0</shiro.version>
  35. <swagger.version>2.7.0</swagger.version>
  36. <feign.form.version>3.0.3</feign.form.version>
  37. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  38. </properties>
  39. <repositories>
  40. <repository>
  41. <id>spring-milestones</id>
  42. <name>Spring Milestones</name>
  43. <url>https://repo.spring.io/libs-milestone</url>
  44. </repository>
  45. <repository>
  46. <id>oss</id>
  47. <name>oss</name>
  48. <url>https://oss.sonatype.org/content/groups/public</url>
  49. </repository>
  50. <repository>
  51. <id>aliyun</id>
  52. <name>aliyun</name>
  53. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  54. </repository>
  55. </repositories>
  56. <distributionManagement>
  57. <repository>
  58. <id>repo.spring.io</id>
  59. <name>Spring Release Repository</name>
  60. <url>https://repo.spring.io/libs-release-local</url>
  61. </repository>
  62. <snapshotRepository>
  63. <id>repo.spring.io</id>
  64. <name>Spring Snapshot Repository</name>
  65. <url>https://repo.spring.io/libs-snapshot-local</url>
  66. </snapshotRepository>
  67. </distributionManagement>
  68. <dependencyManagement>
  69. <dependencies>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-dependencies</artifactId>
  73. <version>${spring.cloud.version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>de.codecentric</groupId>
  79. <artifactId>spring-boot-admin-dependencies</artifactId>
  80. <version>${spring.boot.admin.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.mybatis.spring.boot</groupId>
  86. <artifactId>mybatis-spring-boot-starter</artifactId>
  87. <version>${mybatis.spring.boot.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>druid</artifactId>
  92. <version>${alibaba.druid.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. <version>${mysql.version}</version>
  98. </dependency>
  99. <!-- zipkin autoconfigure -->
  100. <dependency>
  101. <groupId>io.zipkin.zipkin2</groupId>
  102. <artifactId>parent</artifactId>
  103. <version>${zipkin.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.zipkin.java</groupId>
  109. <artifactId>zipkin-autoconfigure-storage-mysql</artifactId>
  110. <version>${zipkin.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.zipkin.java</groupId>
  114. <artifactId>zipkin-autoconfigure-storage-elasticsearch</artifactId>
  115. <version>${zipkin.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.zipkin.java</groupId>
  119. <artifactId>zipkin-autoconfigure-collector-rabbitmq</artifactId>
  120. <version>${zipkin.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.zipkin.java</groupId>
  124. <artifactId>zipkin-autoconfigure-collector-kafka</artifactId>
  125. <version>${zipkin.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>io.zipkin.java</groupId>
  129. <artifactId>zipkin-autoconfigure-ui</artifactId>
  130. <version>${zipkin.version}</version>
  131. </dependency>
  132. <!-- pagehelper -->
  133. <dependency>
  134. <groupId>com.github.pagehelper</groupId>
  135. <artifactId>pagehelper-spring-boot-starter</artifactId>
  136. <version>${pagehelper.starter.version}</version>
  137. </dependency>
  138. <!-- shiro -->
  139. <dependency>
  140. <groupId>org.apache.shiro</groupId>
  141. <artifactId>shiro-core</artifactId>
  142. <version>${shiro.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.shiro</groupId>
  146. <artifactId>shiro-spring</artifactId>
  147. <version>${shiro.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.shiro</groupId>
  151. <artifactId>shiro-web</artifactId>
  152. <version>${shiro.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.shiro</groupId>
  156. <artifactId>shiro-ehcache</artifactId>
  157. <version>${shiro.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.shiro</groupId>
  161. <artifactId>shiro-spring-boot-starter</artifactId>
  162. <version>${shiro.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.shiro</groupId>
  166. <artifactId>shiro-spring-boot-web-starter</artifactId>
  167. <version>${shiro.version}</version>
  168. </dependency>
  169. <!-- swagger -->
  170. <dependency>
  171. <groupId>io.springfox</groupId>
  172. <artifactId>springfox-swagger2</artifactId>
  173. <version>${swagger.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>io.springfox</groupId>
  177. <artifactId>springfox-swagger-ui</artifactId>
  178. <version>${swagger.version}</version>
  179. </dependency>
  180. <!-- platform artifacts -->
  181. <dependency>
  182. <groupId>com.usoftchina.saas</groupId>
  183. <artifactId>core</artifactId>
  184. <version>${project.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.usoftchina.saas</groupId>
  188. <artifactId>file-dto</artifactId>
  189. <version>${project.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.usoftchina.saas</groupId>
  193. <artifactId>file-api</artifactId>
  194. <version>${project.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.usoftchina.saas</groupId>
  198. <artifactId>account-dto</artifactId>
  199. <version>${project.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.usoftchina.saas</groupId>
  203. <artifactId>account-api</artifactId>
  204. <version>${project.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.usoftchina.saas</groupId>
  208. <artifactId>auth-dto</artifactId>
  209. <version>${project.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.usoftchina.saas</groupId>
  213. <artifactId>auth-common</artifactId>
  214. <version>${project.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.usoftchina.saas</groupId>
  218. <artifactId>auth-api</artifactId>
  219. <version>${project.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.usoftchina.saas</groupId>
  223. <artifactId>auth-client</artifactId>
  224. <version>${project.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.usoftchina.saas</groupId>
  228. <artifactId>common-dto</artifactId>
  229. <version>${project.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.usoftchina.saas</groupId>
  233. <artifactId>purchase-api</artifactId>
  234. <version>${project.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.usoftchina.saas</groupId>
  238. <artifactId>purchase-dto</artifactId>
  239. <version>${project.version}</version>
  240. </dependency>
  241. <!-- file upload -->
  242. <dependency>
  243. <groupId>io.github.openfeign.form</groupId>
  244. <artifactId>feign-form</artifactId>
  245. <version>${feign.form.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>io.github.openfeign.form</groupId>
  249. <artifactId>feign-form-spring</artifactId>
  250. <version>${feign.form.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-fileupload</groupId>
  254. <artifactId>commons-fileupload</artifactId>
  255. <version>${commons.fileupload.version}</version>
  256. </dependency>
  257. </dependencies>
  258. </dependencyManagement>
  259. <build>
  260. <pluginManagement>
  261. <plugins>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-compiler-plugin</artifactId>
  265. <configuration>
  266. <source>${java.version}</source>
  267. <target>${java.version}</target>
  268. </configuration>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.springframework.boot</groupId>
  272. <artifactId>spring-boot-maven-plugin</artifactId>
  273. </plugin>
  274. </plugins>
  275. </pluginManagement>
  276. </build>
  277. </project>