pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>net.diaowen</groupId>
  12. <artifactId>dwsurvey-oss</artifactId>
  13. <version>v.4.1</version>
  14. <packaging>war</packaging>
  15. <name>dwsurvey</name>
  16. <description>DWSurvey project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <!--war 模式添加-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-tomcat</artifactId>
  34. <scope>provided</scope>
  35. </dependency>
  36. <!--jar模式开启热部署,便于修改后自动发布,生产环境推荐关掉此项配置-->
  37. <!--<dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-devtools</artifactId>
  40. <scope>runtime</scope>
  41. <optional>true</optional>
  42. </dependency>-->
  43. <!-- 添加servlet依赖模块 -->
  44. <dependency>
  45. <groupId>javax.servlet</groupId>
  46. <artifactId>javax.servlet-api</artifactId>
  47. </dependency>
  48. <!-- 添加jstl标签库依赖模块 -->
  49. <dependency>
  50. <groupId>javax.servlet</groupId>
  51. <artifactId>jstl</artifactId>
  52. </dependency>
  53. <!-- 使用jsp引擎,springboot内置tomcat没有此依赖 -->
  54. <dependency>
  55. <groupId>org.apache.tomcat.embed</groupId>
  56. <artifactId>tomcat-embed-jasper</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.tuckey</groupId>
  60. <artifactId>urlrewritefilter</artifactId>
  61. <version>4.0.3</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.sitemesh</groupId>
  65. <artifactId>sitemesh</artifactId>
  66. <version>3.0.1</version>
  67. </dependency>
  68. <!-- 项目JAR包-->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-data-jpa</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.apache.tomcat</groupId>
  75. <artifactId>tomcat-jdbc</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-jdbc</artifactId>
  82. </dependency>
  83. <!-- 添加Hibernate支持 -->
  84. <dependency>
  85. <groupId>org.hibernate</groupId>
  86. <artifactId>hibernate-entitymanager</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.hibernate</groupId>
  90. <artifactId>hibernate-core</artifactId>
  91. </dependency>
  92. <!-- mysql数据库连接 -->
  93. <dependency>
  94. <groupId>mysql</groupId>
  95. <artifactId>mysql-connector-java</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>druid-spring-boot-starter</artifactId>
  100. <version>1.1.21</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>fastjson</artifactId>
  105. <version>1.2.66</version>
  106. </dependency>
  107. <!-- commons-lang3 工具类-->
  108. <dependency>
  109. <groupId>org.apache.commons</groupId>
  110. <artifactId>commons-lang3</artifactId>
  111. <version>3.4</version>
  112. </dependency>
  113. <!-- 日志包-->
  114. <dependency>
  115. <groupId>ch.qos.logback</groupId>
  116. <artifactId>logback-classic</artifactId>
  117. <version>1.2.3</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.shiro</groupId>
  121. <artifactId>shiro-all</artifactId>
  122. <version>1.7.1</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>cglib</groupId>
  126. <artifactId>cglib-nodep</artifactId>
  127. <version>2.2.2</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>commons-httpclient</groupId>
  131. <artifactId>commons-httpclient</artifactId>
  132. <version>3.0.1</version>
  133. </dependency>
  134. <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  135. <dependency>
  136. <groupId>commons-logging</groupId>
  137. <artifactId>commons-logging</artifactId>
  138. <version>1.2</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-codec</groupId>
  142. <artifactId>commons-codec</artifactId>
  143. <version>1.11</version>
  144. <scope>compile</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.commons</groupId>
  148. <artifactId>commons-lang3</artifactId>
  149. <version>3.4</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>commons-lang</groupId>
  153. <artifactId>commons-lang</artifactId>
  154. <version>2.6</version>
  155. </dependency>
  156. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  157. <dependency>
  158. <groupId>org.apache.poi</groupId>
  159. <artifactId>poi-ooxml</artifactId>
  160. <version>5.0.0</version>
  161. </dependency>
  162. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-scratchpad -->
  163. <dependency>
  164. <groupId>org.apache.poi</groupId>
  165. <artifactId>poi-scratchpad</artifactId>
  166. <version>5.0.0</version>
  167. </dependency>
  168. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  169. <dependency>
  170. <groupId>org.jsoup</groupId>
  171. <artifactId>jsoup</artifactId>
  172. <version>1.7.2</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.google.zxing</groupId>
  176. <artifactId>core</artifactId>
  177. <version>3.0.0</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.google.zxing</groupId>
  181. <artifactId>javase</artifactId>
  182. <version>3.0.0</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.owasp.esapi</groupId>
  186. <artifactId>esapi</artifactId>
  187. <version>2.1.0</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>net.sf.dozer</groupId>
  191. <artifactId>dozer</artifactId>
  192. <version>5.3.2</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>net.sf.json-lib</groupId>
  196. <artifactId>json-lib</artifactId>
  197. <version>2.4</version>
  198. <classifier>jdk15</classifier>
  199. </dependency>
  200. <!-- https://mvnrepository.com/artifact/org.json/json -->
  201. <dependency>
  202. <groupId>org.json</groupId>
  203. <artifactId>json</artifactId>
  204. <version>20210307</version>
  205. </dependency>
  206. <!-- https://mvnrepository.com/artifact/com.octo.captcha/jcaptcha-all -->
  207. <dependency>
  208. <groupId>com.octo.captcha</groupId>
  209. <artifactId>jcaptcha-all</artifactId>
  210. <version>1.0-RC6</version>
  211. <exclusions>
  212. <exclusion>
  213. <artifactId>spring</artifactId>
  214. <groupId>org.springframework</groupId>
  215. </exclusion>
  216. </exclusions>
  217. </dependency>
  218. <!-- https://mvnrepository.com/artifact/org.threeten/threetenbp -->
  219. <dependency>
  220. <groupId>org.threeten</groupId>
  221. <artifactId>threetenbp</artifactId>
  222. <version>0.7.2</version>
  223. </dependency>
  224. <!-- https://mvnrepository.com/artifact/antlr/antlr -->
  225. <dependency>
  226. <groupId>antlr</groupId>
  227. <artifactId>antlr</artifactId>
  228. <version>2.7.7</version>
  229. </dependency>
  230. <!-- https://mvnrepository.com/artifact/org.antlr/antlr-runtime -->
  231. <dependency>
  232. <groupId>org.antlr</groupId>
  233. <artifactId>antlr-runtime</artifactId>
  234. <version>3.0.1</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>javax.servlet.jsp</groupId>
  238. <artifactId>jsp-api</artifactId>
  239. <version>2.1</version>
  240. <scope>provided</scope>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.xeustechnologies</groupId>
  244. <artifactId>jcl-core</artifactId>
  245. <version>2.4</version>
  246. </dependency>
  247. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  248. <dependency>
  249. <groupId>commons-io</groupId>
  250. <artifactId>commons-io</artifactId>
  251. <version>2.4</version>
  252. </dependency>
  253. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  254. <dependency>
  255. <groupId>commons-fileupload</groupId>
  256. <artifactId>commons-fileupload</artifactId>
  257. <version>1.3.1</version>
  258. </dependency>
  259. </dependencies>
  260. <build>
  261. <finalName>dwsurvey</finalName>
  262. <plugins>
  263. <plugin>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-maven-plugin</artifactId>
  266. <configuration>
  267. <mainClass>net.diaowen.dwsurvey.DwsurveyApplication</mainClass>
  268. </configuration>
  269. </plugin>
  270. </plugins>
  271. </build>
  272. </project>