pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  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. <properties>
  17. <com.dbs.mplus.framework.version>1.0.0</com.dbs.mplus.framework.version>
  18. <findbugs.maven.plugin.version>3.0.1</findbugs.maven.plugin.version>
  19. <maven.ant.run.plugin.version>1.7</maven.ant.run.plugin.version>
  20. <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
  21. <maven.jxr.plugin.version>2.5</maven.jxr.plugin.version>
  22. <maven.pmd.plugin.version>3.5</maven.pmd.plugin.version>
  23. <maven.resources.plugin.version>2.7</maven.resources.plugin.version>
  24. <maven.war.plugin.version>2.6</maven.war.plugin.version>
  25. <!-- tomcat7은 servlet 3.0, jsp 2.2 기준임 -->
  26. <javax.servlet.version>3.0.1</javax.servlet.version>
  27. <javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
  28. <jstl.version>1.2</jstl.version>
  29. <tiles.version>3.0.1</tiles.version>
  30. <commons.dbcp.version>1.4</commons.dbcp.version>
  31. <!-- 컴파일 옵션 -->
  32. <maven.compiler.source.version>1.7</maven.compiler.source.version>
  33. <maven.compiler.target.version>1.7</maven.compiler.target.version>
  34. <maven.compiler.debug.mode>true</maven.compiler.debug.mode>
  35. <spring.profiles.active>server</spring.profiles.active>
  36. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  37. <encoding.type>UTF-8</encoding.type>
  38. <param.deploy.target>server</param.deploy.target>
  39. <build.final.name>mcare-plus</build.final.name>
  40. <org.apache.tomcat.maven.version>2.1</org.apache.tomcat.maven.version>
  41. <!-- 라이브러리들 버전 -->
  42. <ch.qos.logback.version>1.0.13</ch.qos.logback.version>
  43. <com.fasterxml.jackson.dataformat.version>2.8.7</com.fasterxml.jackson.dataformat.version>
  44. <com.google.code.gson.version>2.8.0</com.google.code.gson.version>
  45. <com.fasterxml.jackson.core.version>2.8.7</com.fasterxml.jackson.core.version>
  46. <com.oracle.version>11.2.0.4</com.oracle.version>
  47. <!-- <org.mariadb.jdbc.version>1.5.9</org.mariadb.jdbc.version> -->
  48. <com.mysql.version>5.1.42</com.mysql.version>
  49. <commons.lang.version>2.6</commons.lang.version>
  50. <dom4j.version>1.1</dom4j.version>
  51. <findbugs.maven.plugin.version>3.0.1</findbugs.maven.plugin.version>
  52. <!-- tomcat7은 servlet 3.0, jsp 2.2 기준임 -->
  53. <javax.servlet.version>3.0.1</javax.servlet.version>
  54. <javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
  55. <!-- 사용안하니까 주석처리
  56. <junit.version>3.8.1</junit.version>
  57. -->
  58. <maven.ant.run.plugin.version>1.7</maven.ant.run.plugin.version>
  59. <maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
  60. <maven.jxr.plugin.version>2.5</maven.jxr.plugin.version>
  61. <maven.pmd.plugin.version>3.5</maven.pmd.plugin.version>
  62. <!-- <maven.resources.plugin.version>2.7</maven.resources.plugin.version> -->
  63. <org.apache.httpcomponents.version>4.3.1</org.apache.httpcomponents.version>
  64. <commons.collections.version>3.2.1</commons.collections.version>
  65. <org.slf4j.version>1.7.5</org.slf4j.version>
  66. <org.springframework.version>3.2.4.RELEASE</org.springframework.version>
  67. <xom.version>1.2.5</xom.version>
  68. </properties>
  69. <build>
  70. <pluginManagement>
  71. <plugins>
  72. <!-- eclipse에서 maven을 편리하게 사용하기 위한 플러그인 -->
  73. <plugin>
  74. <groupId>org.eclipse.m2e</groupId>
  75. <artifactId>lifecycle-mapping</artifactId>
  76. <version>1.0.0</version>
  77. <configuration>
  78. <lifecycleMappingMetadata>
  79. <pluginExecutions>
  80. <pluginExecution>
  81. <pluginExecutionFilter>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <versionRange>[1.0.0,)</versionRange>
  85. <goals>
  86. <goal>compile</goal>
  87. <goal>testCompile</goal>
  88. </goals>
  89. </pluginExecutionFilter>
  90. <action>
  91. <ignore />
  92. </action>
  93. </pluginExecution>
  94. <pluginExecution>
  95. <pluginExecutionFilter>
  96. <groupId>org.codehaus.mojo</groupId>
  97. <artifactId>build-helper-maven-plugin</artifactId>
  98. <versionRange>[1.7,)</versionRange>
  99. <goals>
  100. <goal>add-source</goal>
  101. <goal>add-test-source</goal>
  102. </goals>
  103. </pluginExecutionFilter>
  104. <action>
  105. <ignore></ignore>
  106. </action>
  107. </pluginExecution>
  108. </pluginExecutions>
  109. </lifecycleMappingMetadata>
  110. </configuration>
  111. </plugin>
  112. <!-- 여기부터 -->
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>3.1</version>
  117. <configuration>
  118. <source>${maven.compiler.source.version}</source>
  119. <target>${maven.compiler.target.version}</target>
  120. <maven.compiler.debug>${maven.compiler.debug.mode}</maven.compiler.debug>
  121. <encoding>${encoding.type}</encoding>
  122. </configuration>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-resources-plugin</artifactId>
  127. <version>${maven.resources.plugin.version}</version>
  128. <configuration>
  129. <encoding>${encoding.type}</encoding>
  130. </configuration>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-pmd-plugin</artifactId>
  135. <version>${maven.pmd.plugin.version}</version>
  136. <configuration>
  137. <linkXRef>true</linkXRef>
  138. <sourceEncoding>${encoding.type}</sourceEncoding>
  139. <minimumTokens>100</minimumTokens>
  140. <targetJdk>${maven.compiler.target.version}</targetJdk>
  141. </configuration>
  142. <executions>
  143. <execution>
  144. <phase>compile</phase>
  145. <goals>
  146. <goal>check</goal>
  147. <!-- 로그 때문에 중복라인이 있어서 중복체크는 제외
  148. <goal>cpd-check</goal>
  149. -->
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-war-plugin</artifactId>
  157. <version>${maven.war.plugin.version}</version>
  158. <configuration>
  159. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  160. <webResources>
  161. <resource>
  162. <directory>WebContent</directory>
  163. </resource>
  164. </webResources>
  165. <warSourceDirectory>WebContent</warSourceDirectory>
  166. <webXml>WebContent/WEB-INF/web.xml</webXml>
  167. <packagingExcludes>
  168. <!-- servlet, jsp는 WAS에 들어 있으므로 제외시킴 -->
  169. WEB-INF/lib/servlet-api-*.jar,
  170. WEB-INF/lib/javax.servlet-api-*.jar,
  171. WEB-INF/lib/jsp-api-*.jar
  172. </packagingExcludes>
  173. </configuration>
  174. </plugin>
  175. <!-- M-Care demo server -->
  176. <!-- <plugin>
  177. <groupId>org.apache.tomcat.maven</groupId>
  178. <artifactId>tomcat7-maven-plugin</artifactId>
  179. <version>${org.apache.tomcat.maven.version}</version>
  180. <configuration>
  181. <url>https://mcare-demo.idatabank.com/manager/text</url>
  182. <server>mcare-demo</server>
  183. <path>/${build.final.name}</path>
  184. <username>dbs</username>
  185. <password>dbs!@#$</password>
  186. </configuration>
  187. </plugin> -->
  188. <!-- 개발용 - 오픈스택 서버로 -->
  189. <plugin>
  190. <groupId>org.apache.tomcat.maven</groupId>
  191. <artifactId>tomcat7-maven-plugin</artifactId>
  192. <version>${org.apache.tomcat.maven.version}</version>
  193. <configuration>
  194. <url>http://172.16.0.109:8080/manager/text</url>
  195. <path>/${build.final.name}</path>
  196. <username>manager</username>
  197. <password>admin</password>
  198. </configuration>
  199. </plugin>
  200. <!-- 여기까지 -->
  201. </plugins>
  202. </pluginManagement>
  203. <finalName>${build.final.name}</finalName>
  204. </build>
  205. <reporting>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-pmd-plugin</artifactId>
  210. <version>${maven.pmd.plugin.version}</version>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.codehaus.mojo</groupId>
  214. <artifactId>findbugs-maven-plugin</artifactId>
  215. <version>${findbugs.maven.plugin.version}</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-jxr-plugin</artifactId>
  220. <version>${maven.jxr.plugin.version}</version>
  221. </plugin>
  222. </plugins>
  223. </reporting>
  224. <dependencies>
  225. <!-- mobile-core -->
  226. <dependency>
  227. <groupId>com.dbs.mplus</groupId>
  228. <artifactId>mcare-plus-framework</artifactId>
  229. <version>${com.dbs.mplus.framework.version}</version>
  230. </dependency>
  231. <!-- servlet -->
  232. <dependency>
  233. <groupId>javax.servlet</groupId>
  234. <artifactId>javax.servlet-api</artifactId>
  235. <version>${javax.servlet.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>javax.servlet.jsp</groupId>
  239. <artifactId>jsp-api</artifactId>
  240. <version>${javax.servlet.jsp.version}</version>
  241. </dependency>
  242. <!-- jstl -->
  243. <dependency>
  244. <groupId>jstl</groupId>
  245. <artifactId>jstl</artifactId>
  246. <version>${jstl.version}</version>
  247. </dependency>
  248. <!-- tiles -->
  249. <dependency>
  250. <groupId>org.apache.tiles</groupId>
  251. <artifactId>tiles-core</artifactId>
  252. <version>${tiles.version}</version>
  253. <exclusions>
  254. <exclusion>
  255. <artifactId>slf4j-api</artifactId>
  256. <groupId>org.slf4j</groupId>
  257. </exclusion>
  258. <exclusion>
  259. <artifactId>jcl-over-slf4j</artifactId>
  260. <groupId>org.slf4j</groupId>
  261. </exclusion>
  262. </exclusions>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.tiles</groupId>
  266. <artifactId>tiles-jsp</artifactId>
  267. <version>${tiles.version}</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.apache.tiles</groupId>
  271. <artifactId>tiles-servlet</artifactId>
  272. <version>${tiles.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.apache.tiles</groupId>
  276. <artifactId>tiles-template</artifactId>
  277. <version>${tiles.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.tiles</groupId>
  281. <artifactId>tiles-el</artifactId>
  282. <version>${tiles.version}</version>
  283. </dependency>
  284. <!-- DB connection pool -->
  285. <dependency>
  286. <groupId>commons-dbcp</groupId>
  287. <artifactId>commons-dbcp</artifactId>
  288. <version>${commons.dbcp.version}</version>
  289. </dependency>
  290. <!-- slf4j -->
  291. <dependency>
  292. <groupId>org.slf4j</groupId>
  293. <artifactId>slf4j-api</artifactId>
  294. <version>${org.slf4j.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.slf4j</groupId>
  298. <artifactId>slf4j-ext</artifactId>
  299. <version>${org.slf4j.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.slf4j</groupId>
  303. <artifactId>jcl-over-slf4j</artifactId>
  304. <version>${org.slf4j.version}</version>
  305. </dependency>
  306. <!-- logback -->
  307. <dependency>
  308. <groupId>ch.qos.logback</groupId>
  309. <artifactId>logback-core</artifactId>
  310. <version>${ch.qos.logback.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>ch.qos.logback</groupId>
  314. <artifactId>logback-classic</artifactId>
  315. <version>${ch.qos.logback.version}</version>
  316. </dependency>
  317. <!-- commons-lang -->
  318. <dependency>
  319. <groupId>commons-lang</groupId>
  320. <artifactId>commons-lang</artifactId>
  321. <version>${commons.lang.version}</version>
  322. </dependency>
  323. <!-- commons-collections -->
  324. <dependency>
  325. <groupId>commons-collections</groupId>
  326. <artifactId>commons-collections</artifactId>
  327. <version>20040616</version>
  328. </dependency>
  329. <!-- spring -->
  330. <dependency>
  331. <groupId>org.springframework</groupId>
  332. <artifactId>spring-core</artifactId>
  333. <version>${org.springframework.version}</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.springframework</groupId>
  337. <artifactId>spring-beans</artifactId>
  338. <version>${org.springframework.version}</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.springframework</groupId>
  342. <artifactId>spring-context</artifactId>
  343. <version>${org.springframework.version}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.springframework</groupId>
  347. <artifactId>spring-web</artifactId>
  348. <version>${org.springframework.version}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.springframework</groupId>
  352. <artifactId>spring-tx</artifactId>
  353. <version>${org.springframework.version}</version>
  354. <exclusions>
  355. <exclusion>
  356. <artifactId>spring-context</artifactId>
  357. <groupId>org.springframework</groupId>
  358. </exclusion>
  359. </exclusions>
  360. </dependency>
  361. <dependency>
  362. <groupId>org.springframework</groupId>
  363. <artifactId>spring-webmvc</artifactId>
  364. <version>${org.springframework.version}</version>
  365. <exclusions>
  366. <exclusion>
  367. <artifactId>spring-beans</artifactId>
  368. <groupId>org.springframework</groupId>
  369. </exclusion>
  370. <exclusion>
  371. <artifactId>spring-web</artifactId>
  372. <groupId>org.springframework</groupId>
  373. </exclusion>
  374. <exclusion>
  375. <artifactId>spring-context</artifactId>
  376. <groupId>org.springframework</groupId>
  377. </exclusion>
  378. </exclusions>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.springframework</groupId>
  382. <artifactId>spring-jdbc</artifactId>
  383. <version>${org.springframework.version}</version>
  384. <exclusions>
  385. <exclusion>
  386. <artifactId>spring-core</artifactId>
  387. <groupId>org.springframework</groupId>
  388. </exclusion>
  389. <exclusion>
  390. <artifactId>spring-aop</artifactId>
  391. <groupId>org.springframework</groupId>
  392. </exclusion>
  393. <exclusion>
  394. <artifactId>spring-beans</artifactId>
  395. <groupId>org.springframework</groupId>
  396. </exclusion>
  397. </exclusions>
  398. </dependency>
  399. <dependency>
  400. <groupId>org.springframework</groupId>
  401. <artifactId>spring-oxm</artifactId>
  402. <version>${org.springframework.version}</version>
  403. <exclusions>
  404. <exclusion>
  405. <artifactId>spring-core</artifactId>
  406. <groupId>org.springframework</groupId>
  407. </exclusion>
  408. <exclusion>
  409. <artifactId>spring-beans</artifactId>
  410. <groupId>org.springframework</groupId>
  411. </exclusion>
  412. <exclusion>
  413. <artifactId>spring-context</artifactId>
  414. <groupId>org.springframework</groupId>
  415. </exclusion>
  416. </exclusions>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.springframework</groupId>
  420. <artifactId>spring-orm</artifactId>
  421. <version>${org.springframework.version}</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.springframework</groupId>
  425. <artifactId>spring-context-support</artifactId>
  426. <version>${org.springframework.version}</version>
  427. </dependency>
  428. <!-- json -->
  429. <dependency>
  430. <groupId>com.fasterxml.jackson.dataformat</groupId>
  431. <artifactId>jackson-dataformat-xml</artifactId>
  432. <version>${com.fasterxml.jackson.dataformat.version}</version>
  433. </dependency>
  434. <!-- gson -->
  435. <dependency>
  436. <groupId>com.google.code.gson</groupId>
  437. <artifactId>gson</artifactId>
  438. <version>${com.google.code.gson.version}</version>
  439. </dependency>
  440. <!-- httpcomponents -->
  441. <dependency>
  442. <groupId>org.apache.httpcomponents</groupId>
  443. <artifactId>httpclient</artifactId>
  444. <version>${org.apache.httpcomponents.version}</version>
  445. <exclusions>
  446. <exclusion>
  447. <groupId>commons-logging</groupId>
  448. <artifactId>commons-logging</artifactId>
  449. </exclusion>
  450. </exclusions>
  451. </dependency>
  452. <!-- dom4j -->
  453. <dependency>
  454. <groupId>dom4j</groupId>
  455. <artifactId>dom4j</artifactId>
  456. <version>${dom4j.version}</version>
  457. </dependency>
  458. <!-- spring 2.4와 dependency가 있는 라이브러리 -->
  459. <dependency>
  460. <groupId>net.sf.json-lib</groupId>
  461. <artifactId>json-lib-ext-spring</artifactId>
  462. <version>1.0</version>
  463. <exclusions>
  464. <exclusion>
  465. <groupId>javax.servlet</groupId>
  466. <artifactId>servlet-api</artifactId>
  467. </exclusion>
  468. </exclusions>
  469. </dependency>
  470. <!-- com.dbs.mcare.framework.api.executor.impl.WebServiceExecutor.convertXml 에서 사용됨 -->
  471. <dependency>
  472. <groupId>xom</groupId>
  473. <artifactId>xom</artifactId>
  474. <version>${xom.version}</version>
  475. </dependency>
  476. <dependency>
  477. <groupId>com.fasterxml.jackson.core</groupId>
  478. <artifactId>jackson-core</artifactId>
  479. <version>${com.fasterxml.jackson.core.version}</version>
  480. </dependency>
  481. <dependency>
  482. <groupId>com.oracle</groupId>
  483. <artifactId>ojdbc6</artifactId>
  484. <version>11.2.0.4</version>
  485. </dependency>
  486. </dependencies>
  487. <!-- <repositories>
  488. <repository>
  489. <id>mcare_release</id>
  490. <name>mcare_release</name>
  491. <url>http://sa.idatabank.com/nexus/content/repositories/mcare_release</url>
  492. </repository>
  493. <repository>
  494. <id>3rd_party</id>
  495. <name>3rd_party</name>
  496. <url>http://sa.idatabank.com/nexus/content/repositories/thirdparty/</url>
  497. </repository>
  498. </repositories> -->
  499. </project>