pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.jfinal</groupId>
  4. <artifactId>jfinal-java8</artifactId>
  5. <packaging>jar</packaging>
  6. <name>JFinal</name>
  7. <version>3.4</version>
  8. <url>http://www.jfinal.com</url>
  9. <description>JFinal is a simple, light, rapid,independent, extensible Java WEB + ORM framework. The feature of JFinal looks like ruby on rails especially ActiveRecord.</description>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  13. </properties>
  14. <issueManagement>
  15. <system>Github Issue</system>
  16. <url>https://gitee.com/jfinal/jfinal/issues</url>
  17. </issueManagement>
  18. <licenses>
  19. <license>
  20. <name>The Apache Software License, Version 2.0</name>
  21. <url>http://apache.org/licenses/LICENSE-2.0.txt</url>
  22. </license>
  23. </licenses>
  24. <developers>
  25. <developer>
  26. <id>jfinal</id>
  27. <name>James</name>
  28. <email>jfinal@126.com</email>
  29. <url>http://jfinal.com/user/1</url>
  30. </developer>
  31. </developers>
  32. <scm>
  33. <connection>scm:git:git@gitee.com:jfinal/jfinal.git</connection>
  34. <developerConnection>scm:git:git@gitee.com:jfinal/jfinal.git</developerConnection>
  35. <url>git@gitee.com:jfinal/jfinal.git</url>
  36. </scm>
  37. <parent>
  38. <groupId>org.sonatype.oss</groupId>
  39. <artifactId>oss-parent</artifactId>
  40. <version>7</version>
  41. </parent>
  42. <repositories>
  43. </repositories>
  44. <dependencies>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <version>4.8.2</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.jfinal</groupId>
  53. <artifactId>jetty-server</artifactId>
  54. <version>8.1.8</version>
  55. <scope>provided</scope>
  56. </dependency>
  57. <!-- dependency>
  58. <groupId>javax.servlet</groupId>
  59. <artifactId>javax.servlet-api</artifactId>
  60. <version>3.1.0</version>
  61. <scope>provided</scope>
  62. </dependency -->
  63. <!-- jsp support by jetty -->
  64. <dependency>
  65. <groupId>org.eclipse.jetty</groupId>
  66. <artifactId>jetty-jsp</artifactId>
  67. <version>8.1.8.v20121106</version>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.mchange</groupId>
  72. <artifactId>c3p0</artifactId>
  73. <version>0.9.5.1</version>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>druid</artifactId>
  79. <version>1.0.29</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. <version>1.2.31</version>
  86. <scope>provided</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.zaxxer</groupId>
  90. <artifactId>HikariCP-java6</artifactId>
  91. <version>2.3.13</version>
  92. <scope>provided</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>net.sf.ehcache</groupId>
  96. <artifactId>ehcache-core</artifactId>
  97. <version>2.6.6</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.freemarker</groupId>
  102. <artifactId>freemarker</artifactId>
  103. <version>2.3.20</version>
  104. <scope>provided</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>log4j</groupId>
  108. <artifactId>log4j</artifactId>
  109. <version>1.2.16</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.velocity</groupId>
  114. <artifactId>velocity</artifactId>
  115. <version>1.7</version>
  116. <scope>provided</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.velocity</groupId>
  120. <artifactId>velocity-tools</artifactId>
  121. <version>2.0</version>
  122. <scope>provided</scope>
  123. </dependency>
  124. <!-- cos -->
  125. <dependency>
  126. <groupId>com.jfinal</groupId>
  127. <artifactId>cos</artifactId>
  128. <version>2017.5</version>
  129. <scope>provided</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>cglib</groupId>
  133. <artifactId>cglib-nodep</artifactId>
  134. <version>3.2.5</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>redis.clients</groupId>
  138. <artifactId>jedis</artifactId>
  139. <version>2.7.2</version>
  140. <scope>provided</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>de.ruedigermoeller</groupId>
  144. <artifactId>fst</artifactId>
  145. <version>2.29</version>
  146. <scope>provided</scope>
  147. </dependency>
  148. <!--
  149. <dependency>
  150. <groupId>mysql</groupId>
  151. <artifactId>mysql-connector-java</artifactId>
  152. <version>5.1.44</version>
  153. <scope>provided</scope>
  154. </dependency>
  155. -->
  156. <dependency>
  157. <groupId>com.fasterxml.jackson.core</groupId>
  158. <artifactId>jackson-databind</artifactId>
  159. <version>2.4.3</version>
  160. <scope>provided</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>it.sauronsoftware.cron4j</groupId>
  164. <artifactId>cron4j</artifactId>
  165. <version>2.2.5</version>
  166. <scope>provided</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.google.zxing</groupId>
  170. <artifactId>javase</artifactId>
  171. <version>3.2.1</version>
  172. <scope>provided</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-webmvc</artifactId>
  177. <version>4.3.8.RELEASE</version>
  178. <scope>provided</scope>
  179. </dependency>
  180. </dependencies>
  181. <build>
  182. <resources>
  183. <resource>
  184. <directory>src/main/java</directory>
  185. <includes>
  186. <!-- **/* 写法,可以将各级子目录下的资源文件被打包 -->
  187. <include>**/*.jf</include>
  188. </includes>
  189. <filtering>false</filtering>
  190. </resource>
  191. </resources>
  192. <plugins>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-compiler-plugin</artifactId>
  196. <version>3.6.1</version>
  197. <configuration>
  198. <!-- compilerArgument>-parameters</compilerArgument -->
  199. <source>1.8</source>
  200. <target>1.8</target>
  201. <encoding>UTF-8</encoding>
  202. </configuration>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-javadoc-plugin</artifactId>
  207. <version>2.10.3</version>
  208. <configuration>
  209. <!-- 解决 java8 发布到 maven 异常 -->
  210. <additionalparam>-Xdoclint:none</additionalparam>
  211. <encoding>UTF-8</encoding>
  212. <outputDirectory>${basedir}</outputDirectory>
  213. <reportOutputDirectory>${basedir}</reportOutputDirectory>
  214. </configuration>
  215. </plugin>
  216. <!-- 安装源码到本地仓库 -->
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-source-plugin</artifactId>
  220. <version>2.1.2</version>
  221. <executions>
  222. <execution>
  223. <id>attach-sources</id>
  224. <phase>verify</phase>
  225. <goals>
  226. <goal>jar-no-fork</goal>
  227. </goals>
  228. </execution>
  229. </executions>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-gpg-plugin</artifactId>
  234. <version>1.1</version>
  235. <executions>
  236. <execution>
  237. <id>sign-artifacts</id>
  238. <phase>verify</phase>
  239. <goals>
  240. <goal>sign</goal>
  241. </goals>
  242. </execution>
  243. </executions>
  244. <configuration>
  245. <skip>false</skip>
  246. </configuration>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>