pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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>com.yihu.core</groupId>
  91. <artifactId>api-dict</artifactId>
  92. <version>1.6.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.commons</groupId>
  96. <artifactId>commons-collections4</artifactId>
  97. <version>4.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>commons-io</groupId>
  101. <artifactId>commons-io</artifactId>
  102. <version>2.4</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.commons</groupId>
  106. <artifactId>commons-dbcp2</artifactId>
  107. <version>2.1</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>mysql</groupId>
  111. <artifactId>mysql-connector-java</artifactId>
  112. <version>5.1.37</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>net.sf.ezmorph</groupId>
  116. <artifactId>ezmorph</artifactId>
  117. <version>1.0.6</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>junit</groupId>
  121. <artifactId>junit</artifactId>
  122. <version>3.8.1</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.quartz-scheduler</groupId>
  127. <artifactId>quartz</artifactId>
  128. <version>2.2.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-context-support</artifactId>
  133. <version>4.1.1.RELEASE</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.yihu.core</groupId>
  137. <artifactId>ehr-dbhelper</artifactId>
  138. <version>1.1.9</version>
  139. </dependency>
  140. <!--=============httpclient start=============-->
  141. <dependency>
  142. <groupId>org.apache.httpcomponents</groupId>
  143. <artifactId>httpclient</artifactId>
  144. <version>4.5.1</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.httpcomponents</groupId>
  148. <artifactId>httpmime</artifactId>
  149. <version>4.5.1</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.httpcomponents</groupId>
  153. <artifactId>httpcore</artifactId>
  154. <version>4.4.3</version>
  155. </dependency>
  156. <!--=============httpclient end=============-->
  157. <!--=============sfjson start =============-->
  158. <dependency>
  159. <groupId>net.sf.json-lib</groupId>
  160. <artifactId>json-lib</artifactId>
  161. <version>2.4</version>
  162. </dependency>
  163. <!--=============sfjson end =============-->
  164. <dependency>
  165. <groupId>org.jdom</groupId>
  166. <artifactId>jdom</artifactId>
  167. <version>2.0.2</version>
  168. </dependency>
  169. <!--===================swagger start==================-->
  170. <dependency>
  171. <groupId>io.springfox</groupId>
  172. <artifactId>springfox-swagger2</artifactId>
  173. <version>2.1.2</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>io.springfox</groupId>
  177. <artifactId>springfox-swagger-ui</artifactId>
  178. <version>2.1.2</version>
  179. </dependency>
  180. <!--===================swagger end==================-->
  181. <dependency>
  182. <groupId>com.yihu.core</groupId>
  183. <artifactId>core-rpc</artifactId>
  184. <version>2.2.0</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.yihu.core</groupId>
  188. <artifactId>api-config</artifactId>
  189. <version>2.2.0</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.yihu.core</groupId>
  193. <artifactId>core-db</artifactId>
  194. <version>1.3.0</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.zookeeper</groupId>
  198. <artifactId>zookeeper</artifactId>
  199. <version>3.3.6</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>xom</groupId>
  203. <artifactId>xom</artifactId>
  204. <version>1.1</version>
  205. </dependency>
  206. <!--<dependency>-->
  207. <!--<groupId>org.apache.axis2</groupId>-->
  208. <!--<artifactId>axis2</artifactId>-->
  209. <!--<version>1.6.3</version>-->
  210. <!--</dependency>-->
  211. <!--<dependency>-->
  212. <!--<groupId>org.apache.axis2</groupId>-->
  213. <!--<artifactId>axis2-adb</artifactId>-->
  214. <!--<version>1.6.3</version>-->
  215. <!--</dependency>-->
  216. <!--<dependency>-->
  217. <!--<groupId>org.apache.axis2</groupId>-->
  218. <!--<artifactId>axis2-kernel</artifactId>-->
  219. <!--<version>1.6.3</version>-->
  220. <!--</dependency>-->
  221. <!--<dependency>-->
  222. <!--<groupId>org.apache.axis2</groupId>-->
  223. <!--<artifactId>org.apache.axis2.osgi</artifactId>-->
  224. <!--<version>1.6.3</version>-->
  225. <!--</dependency>-->
  226. <dependency>
  227. <groupId>org.json</groupId>
  228. <artifactId>json</artifactId>
  229. <version>20151123</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.cxf</groupId>
  233. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  234. <version>3.1.6</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.cxf</groupId>
  238. <artifactId>cxf-rt-transports-http</artifactId>
  239. <version>3.1.6</version>
  240. </dependency>
  241. </dependencies>
  242. <!-- Package as an executable jar -->
  243. <build>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.springframework.boot</groupId>
  247. <artifactId>spring-boot-maven-plugin</artifactId>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.springframework.boot</groupId>
  251. <artifactId>spring-boot-maven-plugin</artifactId>
  252. </plugin>
  253. <!--打成可以执行的jar包插件-->
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-jar-plugin</artifactId>
  257. <version>2.4</version>
  258. <configuration>
  259. <archive>
  260. <manifest>
  261. <addClasspath>true</addClasspath>
  262. <classpathPrefix>lib/</classpathPrefix>
  263. <mainClass>com.yihu.hos.App</mainClass>
  264. </manifest>
  265. </archive>
  266. </configuration>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-compiler-plugin</artifactId>
  271. <configuration>
  272. <source>1.7</source>
  273. <target>1.7</target>
  274. </configuration>
  275. </plugin>
  276. </plugins>
  277. </build>
  278. </project>