pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.dbs.mplus</groupId>
  5. <artifactId>mcare-plus</artifactId>
  6. <version>1.0</version>
  7. <packaging>war</packaging>
  8. <repositories>
  9. <!-- local -->
  10. <repository>
  11. <id>local-repo</id>
  12. <name>local Repository</name>
  13. <url>file://${project.basedir}/repo</url>
  14. </repository>
  15. </repositories>
  16. <distributionManagement>
  17. <repository>
  18. <id>local-repo</id>
  19. <name>local Repository</name>
  20. <url>file://${project.basedir}/repo</url>
  21. </repository>
  22. </distributionManagement>
  23. <properties>
  24. <com.dbs.mplus.framework.version>2.0.4-RELEASE</com.dbs.mplus.framework.version>
  25. <findbugs.maven.plugin.version>3.0.1</findbugs.maven.plugin.version>
  26. <maven.ant.run.plugin.version>1.7</maven.ant.run.plugin.version>
  27. <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
  28. <maven.jxr.plugin.version>2.5</maven.jxr.plugin.version>
  29. <maven.pmd.plugin.version>3.5</maven.pmd.plugin.version>
  30. <maven.resources.plugin.version>2.7</maven.resources.plugin.version>
  31. <maven.war.plugin.version>2.6</maven.war.plugin.version>
  32. <!-- tomcat7은 servlet 3.0, jsp 2.2 기준임 -->
  33. <javax.servlet.version>3.0.1</javax.servlet.version>
  34. <javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
  35. <jstl.version>1.2</jstl.version>
  36. <tiles.version>3.0.1</tiles.version>
  37. <commons.dbcp.version>1.4</commons.dbcp.version>
  38. <!-- 컴파일 옵션 -->
  39. <maven.compiler.source.version>1.7</maven.compiler.source.version>
  40. <maven.compiler.target.version>1.7</maven.compiler.target.version>
  41. <maven.compiler.debug.mode>true</maven.compiler.debug.mode>
  42. <spring.profiles.active>server</spring.profiles.active>
  43. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  44. <encoding.type>UTF-8</encoding.type>
  45. <param.deploy.target>server</param.deploy.target>
  46. <build.final.name>mcare-plus</build.final.name>
  47. <org.apache.tomcat.maven.version>2.1</org.apache.tomcat.maven.version>
  48. <!-- 라이브러리들 버전 -->
  49. <ch.qos.logback.version>1.0.13</ch.qos.logback.version>
  50. <com.fasterxml.jackson.dataformat.version>2.8.7</com.fasterxml.jackson.dataformat.version>
  51. <com.google.code.gson.version>2.8.0</com.google.code.gson.version>
  52. <com.fasterxml.jackson.core.version>2.8.7</com.fasterxml.jackson.core.version>
  53. <com.oracle.version>11.2.0.4</com.oracle.version>
  54. <!-- <org.mariadb.jdbc.version>1.5.9</org.mariadb.jdbc.version> -->
  55. <com.mysql.version>5.1.42</com.mysql.version>
  56. <commons.lang.version>2.6</commons.lang.version>
  57. <dom4j.version>1.1</dom4j.version>
  58. <findbugs.maven.plugin.version>3.0.1</findbugs.maven.plugin.version>
  59. <!-- tomcat7은 servlet 3.0, jsp 2.2 기준임 -->
  60. <javax.servlet.version>3.0.1</javax.servlet.version>
  61. <javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
  62. <!-- 사용안하니까 주석처리
  63. <junit.version>3.8.1</junit.version>
  64. -->
  65. <maven.ant.run.plugin.version>1.7</maven.ant.run.plugin.version>
  66. <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
  67. <maven.jxr.plugin.version>2.5</maven.jxr.plugin.version>
  68. <maven.pmd.plugin.version>3.5</maven.pmd.plugin.version>
  69. <!-- <maven.resources.plugin.version>2.7</maven.resources.plugin.version> -->
  70. <org.apache.httpcomponents.version>4.3.1</org.apache.httpcomponents.version>
  71. <commons.collections.version>3.2.1</commons.collections.version>
  72. <org.slf4j.version>1.7.5</org.slf4j.version>
  73. <org.springframework.version>4.3.7.RELEASE</org.springframework.version>
  74. <xom.version>1.2.5</xom.version>
  75. </properties>
  76. <build>
  77. <pluginManagement>
  78. <plugins>
  79. <!-- 여기부터 -->
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <version>3.1</version>
  84. <configuration>
  85. <source>${maven.compiler.source.version}</source>
  86. <target>${maven.compiler.target.version}</target>
  87. <debug>${maven.compiler.debug.mode}</debug>
  88. <encoding>${encoding.type}</encoding>
  89. </configuration>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-resources-plugin</artifactId>
  94. <version>${maven.resources.plugin.version}</version>
  95. <configuration>
  96. <encoding>${encoding.type}</encoding>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-war-plugin</artifactId>
  102. <version>${maven.war.plugin.version}</version>
  103. <configuration>
  104. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  105. <webResources>
  106. <resource>
  107. <directory>WebContent</directory>
  108. </resource>
  109. </webResources>
  110. <warSourceDirectory>WebContent</warSourceDirectory>
  111. <webXml>WebContent/WEB-INF/web.xml</webXml>
  112. <packagingExcludes>
  113. <!-- servlet, jsp는 WAS에 들어 있으므로 제외시킴 -->
  114. WEB-INF/lib/servlet-api-*.jar,
  115. WEB-INF/lib/javax.servlet-api-*.jar,
  116. WEB-INF/lib/jsp-api-*.jar
  117. </packagingExcludes>
  118. </configuration>
  119. </plugin>
  120. </plugins>
  121. </pluginManagement>
  122. <finalName>${build.final.name}</finalName>
  123. </build>
  124. <dependencies>
  125. <!-- mobile-core -->
  126. <dependency>
  127. <groupId>com.dbs.mplus</groupId>
  128. <artifactId>mcare-plus-framework</artifactId>
  129. <version>${com.dbs.mplus.framework.version}</version>
  130. </dependency>
  131. <!-- servlet -->
  132. <dependency>
  133. <groupId>javax.servlet</groupId>
  134. <artifactId>javax.servlet-api</artifactId>
  135. <version>${javax.servlet.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>javax.servlet.jsp</groupId>
  139. <artifactId>jsp-api</artifactId>
  140. <version>${javax.servlet.jsp.version}</version>
  141. </dependency>
  142. <!-- jstl -->
  143. <dependency>
  144. <groupId>jstl</groupId>
  145. <artifactId>jstl</artifactId>
  146. <version>${jstl.version}</version>
  147. </dependency>
  148. <!-- tiles -->
  149. <dependency>
  150. <groupId>org.apache.tiles</groupId>
  151. <artifactId>tiles-core</artifactId>
  152. <version>${tiles.version}</version>
  153. <exclusions>
  154. <exclusion>
  155. <artifactId>slf4j-api</artifactId>
  156. <groupId>org.slf4j</groupId>
  157. </exclusion>
  158. <exclusion>
  159. <artifactId>jcl-over-slf4j</artifactId>
  160. <groupId>org.slf4j</groupId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.tiles</groupId>
  166. <artifactId>tiles-jsp</artifactId>
  167. <version>${tiles.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.tiles</groupId>
  171. <artifactId>tiles-servlet</artifactId>
  172. <version>${tiles.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.apache.tiles</groupId>
  176. <artifactId>tiles-template</artifactId>
  177. <version>${tiles.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.tiles</groupId>
  181. <artifactId>tiles-el</artifactId>
  182. <version>${tiles.version}</version>
  183. </dependency>
  184. <!-- DB connection pool -->
  185. <dependency>
  186. <groupId>commons-dbcp</groupId>
  187. <artifactId>commons-dbcp</artifactId>
  188. <version>${commons.dbcp.version}</version>
  189. </dependency>
  190. <!-- 이미지 처리 -->
  191. <!-- <dependency>
  192. <groupId>com.twelvemonkeys.imageio</groupId>
  193. <artifactId>imageio-tiff</artifactId>
  194. <version>3.3.1</version> Alternatively, build your own version
  195. </dependency> -->
  196. <!-- slf4j -->
  197. <dependency>
  198. <groupId>org.slf4j</groupId>
  199. <artifactId>slf4j-api</artifactId>
  200. <version>${org.slf4j.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>slf4j-ext</artifactId>
  205. <version>${org.slf4j.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.slf4j</groupId>
  209. <artifactId>jcl-over-slf4j</artifactId>
  210. <version>${org.slf4j.version}</version>
  211. </dependency>
  212. <!-- logback -->
  213. <dependency>
  214. <groupId>ch.qos.logback</groupId>
  215. <artifactId>logback-core</artifactId>
  216. <version>${ch.qos.logback.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>ch.qos.logback</groupId>
  220. <artifactId>logback-classic</artifactId>
  221. <version>${ch.qos.logback.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>janino</groupId>
  225. <artifactId>janino</artifactId>
  226. <version>2.5.10</version>
  227. </dependency>
  228. <!-- commons-lang -->
  229. <dependency>
  230. <groupId>commons-lang</groupId>
  231. <artifactId>commons-lang</artifactId>
  232. <version>${commons.lang.version}</version>
  233. </dependency>
  234. <!-- commons-collections -->
  235. <dependency>
  236. <groupId>commons-collections</groupId>
  237. <artifactId>commons-collections</artifactId>
  238. <version>20040616</version>
  239. </dependency>
  240. <!-- spring -->
  241. <dependency>
  242. <groupId>org.springframework</groupId>
  243. <artifactId>spring-core</artifactId>
  244. <version>${org.springframework.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.springframework</groupId>
  248. <artifactId>spring-beans</artifactId>
  249. <version>${org.springframework.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.springframework</groupId>
  253. <artifactId>spring-context</artifactId>
  254. <version>${org.springframework.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.springframework</groupId>
  258. <artifactId>spring-web</artifactId>
  259. <version>${org.springframework.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.springframework</groupId>
  263. <artifactId>spring-tx</artifactId>
  264. <version>${org.springframework.version}</version>
  265. <exclusions>
  266. <exclusion>
  267. <artifactId>spring-context</artifactId>
  268. <groupId>org.springframework</groupId>
  269. </exclusion>
  270. </exclusions>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.springframework</groupId>
  274. <artifactId>spring-webmvc</artifactId>
  275. <version>${org.springframework.version}</version>
  276. <exclusions>
  277. <exclusion>
  278. <artifactId>spring-beans</artifactId>
  279. <groupId>org.springframework</groupId>
  280. </exclusion>
  281. <exclusion>
  282. <artifactId>spring-web</artifactId>
  283. <groupId>org.springframework</groupId>
  284. </exclusion>
  285. <exclusion>
  286. <artifactId>spring-context</artifactId>
  287. <groupId>org.springframework</groupId>
  288. </exclusion>
  289. </exclusions>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.springframework</groupId>
  293. <artifactId>spring-jdbc</artifactId>
  294. <version>${org.springframework.version}</version>
  295. <exclusions>
  296. <exclusion>
  297. <artifactId>spring-core</artifactId>
  298. <groupId>org.springframework</groupId>
  299. </exclusion>
  300. <exclusion>
  301. <artifactId>spring-aop</artifactId>
  302. <groupId>org.springframework</groupId>
  303. </exclusion>
  304. <exclusion>
  305. <artifactId>spring-beans</artifactId>
  306. <groupId>org.springframework</groupId>
  307. </exclusion>
  308. </exclusions>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.springframework</groupId>
  312. <artifactId>spring-oxm</artifactId>
  313. <version>${org.springframework.version}</version>
  314. <exclusions>
  315. <exclusion>
  316. <artifactId>spring-core</artifactId>
  317. <groupId>org.springframework</groupId>
  318. </exclusion>
  319. <exclusion>
  320. <artifactId>spring-beans</artifactId>
  321. <groupId>org.springframework</groupId>
  322. </exclusion>
  323. <exclusion>
  324. <artifactId>spring-context</artifactId>
  325. <groupId>org.springframework</groupId>
  326. </exclusion>
  327. </exclusions>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.springframework</groupId>
  331. <artifactId>spring-orm</artifactId>
  332. <version>${org.springframework.version}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.springframework</groupId>
  336. <artifactId>spring-context-support</artifactId>
  337. <version>${org.springframework.version}</version>
  338. </dependency>
  339. <!-- json -->
  340. <dependency>
  341. <groupId>com.fasterxml.jackson.dataformat</groupId>
  342. <artifactId>jackson-dataformat-xml</artifactId>
  343. <version>${com.fasterxml.jackson.dataformat.version}</version>
  344. </dependency>
  345. <!-- gson -->
  346. <dependency>
  347. <groupId>com.google.code.gson</groupId>
  348. <artifactId>gson</artifactId>
  349. <version>${com.google.code.gson.version}</version>
  350. </dependency>
  351. <!-- httpcomponents -->
  352. <dependency>
  353. <groupId>org.apache.httpcomponents</groupId>
  354. <artifactId>httpclient</artifactId>
  355. <version>${org.apache.httpcomponents.version}</version>
  356. <exclusions>
  357. <exclusion>
  358. <groupId>commons-logging</groupId>
  359. <artifactId>commons-logging</artifactId>
  360. </exclusion>
  361. </exclusions>
  362. </dependency>
  363. <!-- dom4j -->
  364. <dependency>
  365. <groupId>dom4j</groupId>
  366. <artifactId>dom4j</artifactId>
  367. <version>${dom4j.version}</version>
  368. </dependency>
  369. <!-- spring 2.4와 dependency가 있는 라이브러리 -->
  370. <dependency>
  371. <groupId>net.sf.json-lib</groupId>
  372. <artifactId>json-lib-ext-spring</artifactId>
  373. <version>1.0</version>
  374. <exclusions>
  375. <exclusion>
  376. <groupId>javax.servlet</groupId>
  377. <artifactId>servlet-api</artifactId>
  378. </exclusion>
  379. </exclusions>
  380. </dependency>
  381. <!-- com.dbs.mcare.framework.api.executor.impl.WebServiceExecutor.convertXml 에서 사용됨 -->
  382. <dependency>
  383. <groupId>xom</groupId>
  384. <artifactId>xom</artifactId>
  385. <version>${xom.version}</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>com.fasterxml.jackson.core</groupId>
  389. <artifactId>jackson-core</artifactId>
  390. <version>${com.fasterxml.jackson.core.version}</version>
  391. </dependency>
  392. <!-- oracle ojdbc -->
  393. <!--
  394. <dependency>
  395. <groupId>com.oracle</groupId>
  396. <artifactId>ojdbc6</artifactId>
  397. <version>11.2.0.4</version>
  398. </dependency>
  399. -->
  400. <!-- Maria DB JDBC 에 버그가 있어서 mysql jdbc로 대체합니다. -->
  401. <!-- mysql connector/j -->
  402. <dependency>
  403. <groupId>com.mysql</groupId>
  404. <artifactId>mysql-connector-java</artifactId>
  405. <version>5.1.42</version>
  406. </dependency>
  407. <!-- Apache Commons FileUpload -->
  408. <dependency>
  409. <groupId>commons-fileupload</groupId>
  410. <artifactId>commons-fileupload</artifactId>
  411. <version>1.3.1</version>
  412. </dependency>
  413. <!-- Apache Commons IO -->
  414. <dependency>
  415. <groupId>commons-io</groupId>
  416. <artifactId>commons-io</artifactId>
  417. <version>2.4</version>
  418. </dependency>
  419. </dependencies>
  420. <!-- <repositories>
  421. <repository>
  422. <id>mcare_release</id>
  423. <name>mcare_release</name>
  424. <url>http://sa.idatabank.com/nexus/content/repositories/mcare_release</url>
  425. </repository>
  426. <repository>
  427. <id>3rd_party</id>
  428. <name>3rd_party</name>
  429. <url>http://sa.idatabank.com/nexus/content/repositories/thirdparty/</url>
  430. </repository>
  431. </repositories> -->
  432. </project>