pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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.baomidou</groupId>
  5. <artifactId>mybatis-plus</artifactId>
  6. <version>2.1.0</version>
  7. <packaging>jar</packaging>
  8. <name>mybatis-plus</name>
  9. <description>mybatis-plus is an enhanced version of mybaits.</description>
  10. <url>http://maven.apache.org</url>
  11. <licenses>
  12. <license>
  13. <name>The Apache Software License, Version 2.0</name>
  14. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  15. </license>
  16. </licenses>
  17. <developers>
  18. <developer>
  19. <name>hubin</name>
  20. <email>jobob@qq.com</email>
  21. </developer>
  22. </developers>
  23. <scm>
  24. <connection>scm:git:git@git.oschina.net:baomidou/mybatis-plus.git</connection>
  25. <developerConnection>scm:git:git@git.oschina.net:baomidou/mybatis-plus.git</developerConnection>
  26. <url>git@git.oschina.net:baomidou/mybatis-plus.git</url>
  27. </scm>
  28. <distributionManagement>
  29. <snapshotRepository>
  30. <id>oss</id>
  31. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  32. </snapshotRepository>
  33. <repository>
  34. <id>oss</id>
  35. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  36. </repository>
  37. </distributionManagement>
  38. <properties>
  39. <!--
  40. <gpg.keyname>F4B46FB9</gpg.keyname>
  41. -->
  42. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  43. <java.version>1.7</java.version>
  44. <mybatis-spring.version>1.3.1</mybatis-spring.version>
  45. <mybatis.version>3.4.4</mybatis.version>
  46. <slf4j.version>1.7.25</slf4j.version>
  47. <logback-classic.version>1.2.2</logback-classic.version>
  48. <!-- provided or test -->
  49. <jsqlparser.version>1.1</jsqlparser.version>
  50. <alibaba.druid.version>1.1.0</alibaba.druid.version>
  51. <commons.dbcp2.version>2.1.1</commons.dbcp2.version>
  52. <commons.pool2.version>2.4.2</commons.pool2.version>
  53. <mssql-jdbc.version>6.2.0.jre7</mssql-jdbc.version>
  54. <mysql-connector-java.version>5.1.38</mysql-connector-java.version>
  55. <ojdbc14.version>10.2.0.5.0</ojdbc14.version>
  56. <postgresql.version>9.4.1212</postgresql.version>
  57. <servlet-api.version>2.5</servlet-api.version>
  58. <spring.version>4.3.9.RELEASE</spring.version>
  59. <aspectjweaver.version>1.8.10</aspectjweaver.version>
  60. <mybatis-ehcache.version>1.1.0</mybatis-ehcache.version>
  61. <junit.version>4.12</junit.version>
  62. <velocity.version>1.7</velocity.version>
  63. <h2.version>1.4.196</h2.version>
  64. <lombok.version>1.16.18</lombok.version>
  65. </properties>
  66. <dependencies>
  67. <dependency>
  68. <groupId>org.mybatis</groupId>
  69. <artifactId>mybatis-spring</artifactId>
  70. <version>${mybatis-spring.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.mybatis</groupId>
  74. <artifactId>mybatis</artifactId>
  75. <version>${mybatis.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.github.jsqlparser</groupId>
  79. <artifactId>jsqlparser</artifactId>
  80. <version>${jsqlparser.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>javax.servlet</groupId>
  84. <artifactId>servlet-api</artifactId>
  85. <version>${servlet-api.version}</version>
  86. <scope>provided</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-api</artifactId>
  91. <version>${slf4j.version}</version>
  92. <scope>provided</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>jcl-over-slf4j</artifactId>
  97. <version>${slf4j.version}</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <!-- spring begin -->
  101. <dependency>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-context</artifactId>
  104. <version>${spring.version}</version>
  105. <scope>provided</scope>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>commons-logging</groupId>
  109. <artifactId>commons-logging</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework</groupId>
  115. <artifactId>spring-webmvc</artifactId>
  116. <version>${spring.version}</version>
  117. <scope>provided</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-tx</artifactId>
  122. <version>${spring.version}</version>
  123. <scope>provided</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-jdbc</artifactId>
  128. <version>${spring.version}</version>
  129. <scope>provided</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-context-support</artifactId>
  134. <version>${spring.version}</version>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.aspectj</groupId>
  139. <artifactId>aspectjweaver</artifactId>
  140. <version>${aspectjweaver.version}</version>
  141. <scope>provided</scope>
  142. </dependency>
  143. <!-- spring end -->
  144. <!--druid -->
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>druid</artifactId>
  148. <version>${alibaba.druid.version}</version>
  149. <scope>provided</scope>
  150. </dependency>
  151. <!-- generator vm -->
  152. <dependency>
  153. <groupId>org.apache.velocity</groupId>
  154. <artifactId>velocity</artifactId>
  155. <version>${velocity.version}</version>
  156. <scope>provided</scope>
  157. </dependency>
  158. <!-- test begin -->
  159. <dependency>
  160. <groupId>mysql</groupId>
  161. <artifactId>mysql-connector-java</artifactId>
  162. <version>${mysql-connector-java.version}</version>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mybatis.caches</groupId>
  167. <artifactId>mybatis-ehcache</artifactId>
  168. <version>${mybatis-ehcache.version}</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.oracle</groupId>
  173. <artifactId>ojdbc14</artifactId>
  174. <version>${ojdbc14.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>ch.qos.logback</groupId>
  179. <artifactId>logback-classic</artifactId>
  180. <version>${logback-classic.version}</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>junit</groupId>
  185. <artifactId>junit</artifactId>
  186. <version>${junit.version}</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-test</artifactId>
  192. <version>${spring.version}</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.apache.commons</groupId>
  197. <artifactId>commons-dbcp2</artifactId>
  198. <version>${commons.dbcp2.version}</version>
  199. <scope>test</scope>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>commons-logging</groupId>
  203. <artifactId>commons-logging</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.commons</groupId>
  209. <artifactId>commons-pool2</artifactId>
  210. <version>${commons.pool2.version}</version>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.microsoft.sqlserver</groupId>
  215. <artifactId>mssql-jdbc</artifactId>
  216. <version>${mssql-jdbc.version}</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.postgresql</groupId>
  221. <artifactId>postgresql</artifactId>
  222. <version>${postgresql.version}</version>
  223. <scope>test</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.h2database</groupId>
  227. <artifactId>h2</artifactId>
  228. <version>${h2.version}</version>
  229. <scope>test</scope>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.projectlombok</groupId>
  233. <artifactId>lombok</artifactId>
  234. <version>${lombok.version}</version>
  235. <scope>test</scope>
  236. </dependency>
  237. <!-- test end -->
  238. </dependencies>
  239. <build>
  240. <plugins>
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-compiler-plugin</artifactId>
  244. <version>2.3.2</version>
  245. <configuration>
  246. <source>${java.version}</source>
  247. <target>${java.version}</target>
  248. <encoding>${project.build.sourceEncoding}</encoding>
  249. </configuration>
  250. </plugin>
  251. <!-- Source -->
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-source-plugin</artifactId>
  255. <version>2.2.1</version>
  256. <executions>
  257. <execution>
  258. <phase>package</phase>
  259. <goals>
  260. <goal>jar-no-fork</goal>
  261. </goals>
  262. </execution>
  263. </executions>
  264. </plugin>
  265. <!-- Javadoc -->
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-javadoc-plugin</artifactId>
  269. <version>2.9.1</version>
  270. <executions>
  271. <execution>
  272. <phase>package</phase>
  273. <goals>
  274. <goal>jar</goal>
  275. </goals>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. <!-- GPG -->
  280. <plugin>
  281. <groupId>org.apache.maven.plugins</groupId>
  282. <artifactId>maven-gpg-plugin</artifactId>
  283. <version>1.6</version>
  284. <executions>
  285. <execution>
  286. <phase>verify</phase>
  287. <goals>
  288. <goal>sign</goal>
  289. </goals>
  290. </execution>
  291. </executions>
  292. </plugin>
  293. <!-- skipJunitTest -->
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-surefire-plugin</artifactId>
  297. <version>2.19.1</version>
  298. <configuration>
  299. <skipTests>true</skipTests>
  300. </configuration>
  301. </plugin>
  302. </plugins>
  303. </build>
  304. <profiles>
  305. <profile>
  306. <id>release</id>
  307. </profile>
  308. </profiles>
  309. </project>