pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.jpsoft</groupId>
  5. <artifactId>jp-kpi</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>jp-kpi Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.7</maven.compiler.source>
  13. <maven.compiler.target>1.7</maven.compiler.target>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>javax.servlet</groupId>
  18. <artifactId>servlet-api</artifactId>
  19. <version>2.5</version>
  20. <scope>provided</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>javax.servlet.jsp</groupId>
  24. <artifactId>jsp-api</artifactId>
  25. <version>2.1</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework</groupId>
  30. <artifactId>spring-webmvc</artifactId>
  31. <version>4.3.21.RELEASE</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework</groupId>
  35. <artifactId>spring-tx</artifactId>
  36. <version>4.3.21.RELEASE</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>commons-dbcp</groupId>
  40. <artifactId>commons-dbcp</artifactId>
  41. <version>1.4</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.aspectj</groupId>
  45. <artifactId>aspectjweaver</artifactId>
  46. <version>1.7.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-jdbc</artifactId>
  51. <version>4.3.21.RELEASE</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-beanutils</groupId>
  55. <artifactId>commons-beanutils</artifactId>
  56. <version>1.9.4</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.commons</groupId>
  60. <artifactId>commons-lang3</artifactId>
  61. <version>3.4</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.slf4j</groupId>
  65. <artifactId>slf4j-api</artifactId>
  66. <version>1.7.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>ch.qos.logback</groupId>
  70. <artifactId>logback-core</artifactId>
  71. <version>1.0.7</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>ch.qos.logback</groupId>
  75. <artifactId>logback-classic</artifactId>
  76. <version>1.0.7</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-databind</artifactId>
  81. <version>2.9.2</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>fastjson</artifactId>
  86. <version>1.2.72</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.jpsoft</groupId>
  90. <artifactId>framework</artifactId>
  91. <version>4.3</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>javax.validation</groupId>
  95. <artifactId>validation-api</artifactId>
  96. <version>2.0.1.Final</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.hibernate.validator</groupId>
  100. <artifactId>hibernate-validator</artifactId>
  101. <version>6.0.15.Final</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.glassfish</groupId>
  105. <artifactId>javax.el</artifactId>
  106. <version>3.0.1-b11</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>net.sourceforge</groupId>
  110. <artifactId>jtds</artifactId>
  111. <version>1.2.5</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.squareup.okhttp3</groupId>
  115. <artifactId>okhttp</artifactId>
  116. <version>3.10.0</version>
  117. </dependency>
  118. </dependencies>
  119. <profiles>
  120. <profile>
  121. <id>dev</id>
  122. <properties>
  123. <env>dev</env>
  124. <jdbc.url>192.168</jdbc.url>
  125. </properties>
  126. <activation>
  127. <activeByDefault>true</activeByDefault>
  128. </activation>
  129. </profile>
  130. <profile>
  131. <id>prd</id>
  132. <properties>
  133. <env>prd</env>
  134. <jdbc.username>prd_username</jdbc.username>
  135. </properties>
  136. </profile>
  137. </profiles>
  138. <build>
  139. <finalName>jp-kpi</finalName>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.apache.tomcat.maven</groupId>
  143. <artifactId>tomcat7-maven-plugin</artifactId>
  144. <version>2.2</version>
  145. <configuration>
  146. <url>http://localhost:8081/manager/text</url>
  147. <path>/jpkpi</path>
  148. <uriEncoding>UTF-8</uriEncoding>
  149. <server>tomcat</server>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <artifactId>maven-compiler-plugin</artifactId>
  154. <version>2.3.2</version>
  155. <configuration>
  156. <encoding>utf8</encoding>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-war-plugin</artifactId>
  161. <version>2.4</version>
  162. <configuration>
  163. <includeEmptyDirectories>true</includeEmptyDirectories>
  164. </configuration>
  165. </plugin>
  166. </plugins>
  167. <!-- <resources>
  168. <resource>
  169. <directory>WEB-INF/config</directory>
  170. <excludes>
  171. <exclude>dev/*</exclude>
  172. <exclude>prd/*</exclude>
  173. </excludes>
  174. <filtering>true</filtering>
  175. </resource>
  176. </resources> -->
  177. </build>
  178. </project>