pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>jsw</groupId>
  6. <artifactId>jsw</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. </properties>
  15. <!-- 使用阿里 maven 库 -->
  16. <repositories>
  17. <repository>
  18. <id>ali-maven</id>
  19. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  20. <releases>
  21. <enabled>true</enabled>
  22. </releases>
  23. <snapshots>
  24. <enabled>true</enabled>
  25. <updatePolicy>always</updatePolicy>
  26. <checksumPolicy>fail</checksumPolicy>
  27. </snapshots>
  28. </repository>
  29. </repositories>
  30. <!-- 添加快照版本库,updatePolicy: always、daily、interval、never -->
  31. <!-- repositories>
  32. <repository>
  33. <id>sonatype-nexus-snapshots</id>
  34. <name>Sonatype Nexus Snapshots</name>
  35. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  36. <releases>
  37. <enabled>false</enabled>
  38. </releases>
  39. <snapshots>
  40. <enabled>true</enabled>
  41. <updatePolicy>daily</updatePolicy>
  42. </snapshots>
  43. </repository>
  44. </repositories -->
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.jsoup</groupId>
  48. <artifactId>com.springsource.org.jsoup</artifactId>
  49. <version>1.5.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>junit</groupId>
  53. <artifactId>junit</artifactId>
  54. <version>3.8.1</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <!-- 调用第三方接口用包 -->
  58. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  59. <dependency>
  60. <groupId>org.apache.httpcomponents</groupId>
  61. <artifactId>httpcore</artifactId>
  62. <version>4.4.10</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  65. <dependency>
  66. <groupId>org.apache.httpcomponents</groupId>
  67. <artifactId>httpclient</artifactId>
  68. <version>4.5.8</version>
  69. </dependency>
  70. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk16 -->
  71. <dependency>
  72. <groupId>org.bouncycastle</groupId>
  73. <artifactId>bcprov-jdk16</artifactId>
  74. <version>1.46</version>
  75. </dependency>
  76. <!-- 调用第三方接口用包 -->
  77. <dependency>
  78. <groupId>com.jfinal</groupId>
  79. <artifactId>jfinal</artifactId>
  80. <version>3.4</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>log4j</groupId>
  84. <artifactId>log4j</artifactId>
  85. <version>1.2.16</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. <version>5.1.44</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.alibaba</groupId>
  94. <artifactId>druid</artifactId>
  95. <version>1.0.29</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.jfinal</groupId>
  99. <artifactId>cos</artifactId>
  100. <version>2017.5</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-lang3</artifactId>
  105. <version>3.5</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  108. <dependency>
  109. <groupId>commons-io</groupId>
  110. <artifactId>commons-io</artifactId>
  111. <version>2.5</version>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
  114. <dependency>
  115. <groupId>javax.servlet</groupId>
  116. <artifactId>javax.servlet-api</artifactId>
  117. <version>4.0.0</version>
  118. <scope>provided</scope>
  119. </dependency>
  120. <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
  121. <dependency>
  122. <groupId>com.auth0</groupId>
  123. <artifactId>java-jwt</artifactId>
  124. <version>3.10.3</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>io.jsonwebtoken</groupId>
  128. <artifactId>jjwt</artifactId>
  129. <version>0.6.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>it.sauronsoftware.cron4j</groupId>
  133. <artifactId>cron4j</artifactId>
  134. <version>2.2.5</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>net.sf.ehcache</groupId>
  138. <artifactId>ehcache</artifactId>
  139. <version>2.10.6</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.microsoft.sqlserver</groupId>
  143. <artifactId>mssql-jdbc</artifactId>
  144. <version>6.4.0.jre8</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.poi</groupId>
  148. <artifactId>poi</artifactId>
  149. <version>4.0.0</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.poi</groupId>
  153. <artifactId>poi-ooxml</artifactId>
  154. <version>4.0.1</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>net.sourceforge.jexcelapi</groupId>
  158. <artifactId>jxl</artifactId>
  159. <version>2.6.12</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>cn.dreampie</groupId>
  163. <artifactId>jfinal-captcha</artifactId>
  164. <version>0.1</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>javax</groupId>
  168. <artifactId>javaee-api</artifactId>
  169. <version>7.0</version>
  170. <scope>provided</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.jfinal</groupId>
  174. <artifactId>jfinal-weixin</artifactId>
  175. <version>2.3</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>net.sf.ucanaccess</groupId>
  179. <artifactId>ucanaccess</artifactId>
  180. <version>4.0.4</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.baidu.aip</groupId>
  184. <artifactId>java-sdk</artifactId>
  185. <version>4.11.0</version>
  186. </dependency>
  187. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  188. <dependency>
  189. <groupId>com.alibaba</groupId>
  190. <artifactId>fastjson</artifactId>
  191. <version>1.2.68.sec10</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>com.linuxense</groupId>
  195. <artifactId>javadbf</artifactId>
  196. <version>0.4.0</version>
  197. </dependency>
  198. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  199. <dependency>
  200. <groupId>com.itextpdf</groupId>
  201. <artifactId>itextpdf</artifactId>
  202. <version>5.5.13</version>
  203. </dependency>
  204. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  205. <dependency>
  206. <groupId>com.itextpdf</groupId>
  207. <artifactId>itext-asian</artifactId>
  208. <version>5.2.0</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>net.sf.barcode4j</groupId>
  212. <artifactId>barcode4j</artifactId>
  213. <version>2.1</version>
  214. </dependency>
  215. </dependencies>
  216. <build>
  217. <defaultGoal>compile</defaultGoal>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-compiler-plugin</artifactId>
  222. <version>3.1</version>
  223. <configuration>
  224. <source>1.8</source>
  225. <target>1.8</target>
  226. </configuration>
  227. </plugin>
  228. <plugin>
  229. <artifactId>maven-war-plugin</artifactId>
  230. <version>2.6</version>
  231. <configuration>
  232. <warSourceDirectory>src/main/webapp</warSourceDirectory>
  233. <failOnMissingWebXml>false</failOnMissingWebXml>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-resources-plugin</artifactId>
  239. <version>2.6</version>
  240. <configuration>
  241. <encoding>UTF-8</encoding>
  242. </configuration>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-javadoc-plugin</artifactId>
  247. <version>3.0.0</version>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. <!--<build>
  252. <finalName>jswlibrary</finalName>
  253. <plugins>
  254. <plugin>
  255. <artifactId>maven-assembly-plugin</artifactId>
  256. <configuration>
  257. <appendAssemblyId>false</appendAssemblyId>
  258. <descriptors>
  259. <descriptor>package.xml</descriptor>
  260. </descriptors>
  261. <outputDirectory>${project.build.directory}/dist/</outputDirectory>
  262. </configuration>
  263. <executions>
  264. <execution>
  265. <id>make-assembly</id>
  266. <phase>package</phase>
  267. <goals>
  268. <goal>single</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.apache.maven.plugins</groupId>
  275. <artifactId>maven-jar-plugin</artifactId>
  276. <version>2.4</version>
  277. <configuration>
  278. <archive>
  279. <manifest>
  280. <mainClass>com.config.MyJfinalConfig</mainClass>
  281. <classpathPrefix>lib/</classpathPrefix>
  282. <addClasspath>true</addClasspath>
  283. </manifest>
  284. <manifestEntries>
  285. &lt;!&ndash; 在 MANIFEST.MF 中生成 Class-Path: resources/ &ndash;&gt;
  286. <Class-Path>resources/</Class-Path>
  287. </manifestEntries>
  288. </archive>
  289. </configuration>
  290. </plugin>
  291. </plugins>
  292. </build>-->
  293. </project>