pom.xml 11 KB

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