pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. <groupId>com.yihu.hos.resource</groupId>
  7. <artifactId>resource-rest</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <pluginRepositories>
  14. <pluginRepository>
  15. <id>pluginCentral</id>
  16. <name>pluginCentral</name>
  17. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  18. </pluginRepository>
  19. <pluginRepository>
  20. <id>pluginReleases</id>
  21. <name>pluginReleases</name>
  22. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  23. </pluginRepository>
  24. </pluginRepositories>
  25. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  26. <distributionManagement>
  27. <repository>
  28. <id>Releases</id>
  29. <name>Releases</name>
  30. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  31. </repository>
  32. <snapshotRepository>
  33. <id>snapshots</id>
  34. <name>Snapshots</name>
  35. <url>http://172.19.103.47:8081/nexus/content/repositories/snapshots/</url>
  36. </snapshotRepository>
  37. </distributionManagement>
  38. <repositories>
  39. <repository>
  40. <id>repositoryCentral</id>
  41. <name>repositoryCentral</name>
  42. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  43. </repository>
  44. <repository>
  45. <id>repositoryReleases</id>
  46. <name>repositoryReleases</name>
  47. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  48. </repository>
  49. </repositories>
  50. <!-- Inherit defaults from Spring Boot -->
  51. <parent>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-parent</artifactId>
  54. <version>1.2.7.RELEASE</version>
  55. </parent>
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-jpa</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.data</groupId>
  67. <artifactId>spring-data-mongodb</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.mongodb</groupId>
  71. <artifactId>mongo-java-driver</artifactId>
  72. <version>3.1.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-dbutils</groupId>
  76. <artifactId>commons-dbutils</artifactId>
  77. <version>1.6</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-beanutils</groupId>
  81. <artifactId>commons-beanutils</artifactId>
  82. <version>1.9.2</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-codec</groupId>
  86. <artifactId>commons-codec</artifactId>
  87. <version>1.10</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-collections4</artifactId>
  92. <version>4.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-io</groupId>
  96. <artifactId>commons-io</artifactId>
  97. <version>2.4</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-dbcp2</artifactId>
  102. <version>2.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>mysql</groupId>
  106. <artifactId>mysql-connector-java</artifactId>
  107. <version>5.1.37</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>net.sf.ezmorph</groupId>
  111. <artifactId>ezmorph</artifactId>
  112. <version>1.0.6</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>junit</groupId>
  116. <artifactId>junit</artifactId>
  117. <version>3.8.1</version>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.quartz-scheduler</groupId>
  122. <artifactId>quartz</artifactId>
  123. <version>2.2.2</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-context-support</artifactId>
  128. <version>4.1.1.RELEASE</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.yihu.core</groupId>
  132. <artifactId>ehr-dbhelper</artifactId>
  133. <version>1.1.8</version>
  134. </dependency>
  135. <!--=============httpclient start=============-->
  136. <dependency>
  137. <groupId>org.apache.httpcomponents</groupId>
  138. <artifactId>httpclient</artifactId>
  139. <version>4.5.1</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.httpcomponents</groupId>
  143. <artifactId>httpmime</artifactId>
  144. <version>4.5.1</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.httpcomponents</groupId>
  148. <artifactId>httpcore</artifactId>
  149. <version>4.4.3</version>
  150. </dependency>
  151. <!--=============httpclient end=============-->
  152. <!--=============sfjson start =============-->
  153. <dependency>
  154. <groupId>net.sf.json-lib</groupId>
  155. <artifactId>json-lib</artifactId>
  156. <version>2.4</version>
  157. </dependency>
  158. <!--=============sfjson end =============-->
  159. <dependency>
  160. <groupId>org.jdom</groupId>
  161. <artifactId>jdom</artifactId>
  162. <version>2.0.2</version>
  163. </dependency>
  164. <!--===================swagger start==================-->
  165. <dependency>
  166. <groupId>io.springfox</groupId>
  167. <artifactId>springfox-swagger2</artifactId>
  168. <version>2.1.2</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>io.springfox</groupId>
  172. <artifactId>springfox-swagger-ui</artifactId>
  173. <version>2.1.2</version>
  174. </dependency>
  175. <!--===================swagger end==================-->
  176. <dependency>
  177. <groupId>com.yihu.core</groupId>
  178. <artifactId>core-rpc</artifactId>
  179. <version>2.2.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.yihu.core</groupId>
  183. <artifactId>api-config</artifactId>
  184. <version>2.2.0</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.yihu.core</groupId>
  188. <artifactId>core-db</artifactId>
  189. <version>1.3.0</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.zookeeper</groupId>
  193. <artifactId>zookeeper</artifactId>
  194. <version>3.3.6</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>xom</groupId>
  198. <artifactId>xom</artifactId>
  199. <version>1.1</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.axis2</groupId>
  203. <artifactId>axis2</artifactId>
  204. <version>1.6.3</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.axis2</groupId>
  208. <artifactId>axis2-adb</artifactId>
  209. <version>1.6.3</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.axis2</groupId>
  213. <artifactId>axis2-kernel</artifactId>
  214. <version>1.6.3</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.apache.axis2</groupId>
  218. <artifactId>org.apache.axis2.osgi</artifactId>
  219. <version>1.6.3</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.json</groupId>
  223. <artifactId>json</artifactId>
  224. <version>20151123</version>
  225. </dependency>
  226. </dependencies>
  227. <!-- Package as an executable jar -->
  228. <build>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.springframework.boot</groupId>
  232. <artifactId>spring-boot-maven-plugin</artifactId>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.springframework.boot</groupId>
  236. <artifactId>spring-boot-maven-plugin</artifactId>
  237. </plugin>
  238. <!--打成可以执行的jar包插件-->
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-jar-plugin</artifactId>
  242. <version>2.4</version>
  243. <configuration>
  244. <archive>
  245. <manifest>
  246. <addClasspath>true</addClasspath>
  247. <classpathPrefix>lib/</classpathPrefix>
  248. <mainClass>com.yihu.hos.resource.base.App</mainClass>
  249. </manifest>
  250. </archive>
  251. </configuration>
  252. </plugin>
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-compiler-plugin</artifactId>
  256. <configuration>
  257. <source>1.7</source>
  258. <target>1.7</target>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </project>