You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

329 line
8.8 KiB

  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.jeesite</groupId>
  5. <artifactId>beetl</artifactId>
  6. <version>2.9-SNAPSHOT</version><!-- from 2.9.8 -->
  7. <packaging>jar</packaging>
  8. <name>com.ibeetl:beetl</name>
  9. <description>java template language</description>
  10. <url>ibeetl.com</url>
  11. <licenses>
  12. <license>
  13. <name>BSD License</name>
  14. <url>http://opensource.org/licenses/BSD-3-Clause</url>
  15. </license>
  16. </licenses>
  17. <developers>
  18. <developer>
  19. <name>xiandafu</name>
  20. <email>xiandafu@126.com</email>
  21. </developer>
  22. </developers>
  23. <scm>
  24. <connection>scm:git@github.com:javamonkey/beetl2.0.git</connection>
  25. <developerConnection>scm:git:git@github.com:javamonkey/beetl2.0.git</developerConnection>
  26. <url>https://github.com/javamonkey/beetl2.0.git</url>
  27. </scm>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.antlr</groupId>
  31. <artifactId>antlr4-runtime</artifactId>
  32. <version>4.6</version>
  33. <!-- ThinkGem 4.2 to 4.6 [WARNING] 来自注释处理程序 'org.antlr.v4.runtime.misc.
  34. NullUsageProcessor' 的受支持 source 版本 'RELEASE_6' 低于 -source '1.8' -->
  35. </dependency>
  36. <dependency>
  37. <groupId>com.ibeetl</groupId>
  38. <artifactId>btjson</artifactId>
  39. <scope>provided</scope>
  40. <version>0.94</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.jfinal</groupId>
  44. <artifactId>jfinal</artifactId>
  45. <scope>provided</scope>
  46. <version>3.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.nutz</groupId>
  50. <artifactId>nutz</artifactId>
  51. <scope>provided</scope>
  52. <version>1.b.52</version>
  53. <optional>true</optional>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-lang3</artifactId>
  58. <scope>provided</scope>
  59. <version>3.3.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-core</artifactId>
  64. <scope>provided</scope>
  65. <optional>true</optional>
  66. <version>4.2.1.RELEASE</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-web</artifactId>
  71. <scope>provided</scope>
  72. <optional>true</optional>
  73. <version>4.2.1.RELEASE</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-webmvc</artifactId>
  78. <scope>provided</scope>
  79. <optional>true</optional>
  80. <version>4.2.1.RELEASE</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-beans</artifactId>
  85. <scope>provided</scope>
  86. <optional>true</optional>
  87. <version>4.2.1.RELEASE</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-context</artifactId>
  92. <scope>provided</scope>
  93. <optional>true</optional>
  94. <version>4.2.1.RELEASE</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-context-support</artifactId>
  99. <scope>provided</scope>
  100. <optional>true</optional>
  101. <version>4.2.1.RELEASE</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.security</groupId>
  105. <artifactId>spring-security-core</artifactId>
  106. <version>3.1.7.RELEASE</version>
  107. <scope>provided</scope>
  108. <optional>true</optional>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.security</groupId>
  112. <artifactId>spring-security-web</artifactId>
  113. <version>3.1.7.RELEASE</version>
  114. <scope>provided</scope>
  115. <optional>true</optional>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.struts</groupId>
  119. <artifactId>struts2-core</artifactId>
  120. <scope>provided</scope>
  121. <optional>true</optional>
  122. <version>2.3.24</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.struts.xwork</groupId>
  126. <artifactId>xwork-core</artifactId>
  127. <scope>provided</scope>
  128. <optional>true</optional>
  129. <version>2.3.24</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.jodd</groupId>
  133. <artifactId>jodd-madvoc</artifactId>
  134. <scope>provided</scope>
  135. <optional>true</optional>
  136. <version>3.6.6</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.testng</groupId>
  140. <artifactId>testng</artifactId>
  141. <scope>test</scope>
  142. <version>6.1.1</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.servlet</groupId>
  146. <artifactId>servlet-api</artifactId>
  147. <version>2.5</version>
  148. <scope>provided</scope>
  149. <optional>true</optional>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.fasterxml.jackson.core</groupId>
  153. <artifactId>jackson-databind</artifactId>
  154. <version>2.9.4</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.alibaba</groupId>
  159. <artifactId>fastjson</artifactId>
  160. <version>1.2.47</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.mockito</groupId>
  165. <artifactId>mockito-core</artifactId>
  166. <version>2.0.31-beta</version>
  167. <scope>test</scope>
  168. </dependency>
  169. </dependencies>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <version>3.1</version>
  175. <configuration>
  176. <source>1.6</source>
  177. <target>1.6</target>
  178. <encoding>UTF-8</encoding>
  179. <excludes>
  180. <exclude>org/beetl/core/lab/**</exclude>
  181. </excludes>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.sonatype.plugins</groupId>
  186. <artifactId>nexus-staging-maven-plugin</artifactId>
  187. <version>1.6.3</version>
  188. <extensions>true</extensions>
  189. <configuration>
  190. <serverId>snapshots</serverId>
  191. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  192. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  193. </configuration>
  194. </plugin>
  195. <!-- Source -->
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-source-plugin</artifactId>
  199. <version>2.2.1</version>
  200. <executions>
  201. <execution>
  202. <phase>package</phase>
  203. <goals>
  204. <goal>jar-no-fork</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-javadoc-plugin</artifactId>
  212. <version>2.9.1</version>
  213. <configuration>
  214. <charset>utf-8</charset>
  215. <encoding>utf-8</encoding>
  216. <quiet>true</quiet>
  217. </configuration>
  218. <executions>
  219. <execution>
  220. <id>attach-javadocs</id>
  221. <goals>
  222. <goal>jar</goal>
  223. </goals>
  224. <configuration>
  225. <additionalparam>-Xdoclint:none</additionalparam>
  226. </configuration>
  227. </execution>
  228. </executions>
  229. </plugin>
  230. <!-- <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-gpg-plugin</artifactId>
  233. <version>1.5</version>
  234. <executions>
  235. <execution>
  236. <id>sign-artifacts</id>
  237. <phase>verify</phase>
  238. <goals>
  239. <goal>sign</goal>
  240. </goals>
  241. </execution>
  242. </executions>
  243. </plugin> -->
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-jar-plugin</artifactId>
  247. <version>2.4</version>
  248. <configuration>
  249. <excludes>
  250. <exclude>**/*.xml</exclude>
  251. <exclude>**/*.g4</exclude>
  252. </excludes>
  253. </configuration>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. <!-- <distributionManagement>
  258. <snapshotRepository>
  259. <id>snapshots</id>
  260. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  261. </snapshotRepository>
  262. <repository>
  263. <id>releases</id>
  264. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  265. </repository>
  266. </distributionManagement> -->
  267. <profiles>
  268. <!-- 打包项目 -->
  269. <profile>
  270. <id>package</id>
  271. <build>
  272. <plugins>
  273. <!-- Java Document Generate
  274. <plugin>
  275. <groupId>org.apache.maven.plugins</groupId>
  276. <artifactId>maven-javadoc-plugin</artifactId>
  277. </plugin> -->
  278. </plugins>
  279. </build>
  280. </profile>
  281. <!-- 部署项目 -->
  282. <profile>
  283. <id>deploy</id>
  284. <build>
  285. <plugins>
  286. <!-- Java Document Generate
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-javadoc-plugin</artifactId>
  290. </plugin> -->
  291. </plugins>
  292. </build>
  293. <distributionManagement>
  294. <repository>
  295. <id>sonatype-repos</id>
  296. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  297. </repository>
  298. <snapshotRepository>
  299. <id>sonatype-repos-s</id>
  300. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  301. </snapshotRepository>
  302. </distributionManagement>
  303. </profile>
  304. </profiles>
  305. </project>