pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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.0.9</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.0</jsqlparser.version>
  50. <alibaba.druid.version>1.0.29</alibaba.druid.version>
  51. <commons.dbcp2.version>2.1.1</commons.dbcp2.version>
  52. <commons.pool2.version>2.4.2</commons.pool2.version>
  53. <sqljdbc4.version>4.0</sqljdbc4.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.5.RELEASE</spring.version>
  59. <aspectjweaver.version>1.8.9</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.194</h2.version>
  64. <lombok.version>1.16.16</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>javax.servlet</groupId>
  79. <artifactId>servlet-api</artifactId>
  80. <version>${servlet-api.version}</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.slf4j</groupId>
  85. <artifactId>slf4j-api</artifactId>
  86. <version>${slf4j.version}</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.slf4j</groupId>
  91. <artifactId>jcl-over-slf4j</artifactId>
  92. <version>${slf4j.version}</version>
  93. <scope>provided</scope>
  94. </dependency>
  95. <!-- spring begin -->
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-context</artifactId>
  99. <version>${spring.version}</version>
  100. <scope>provided</scope>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>commons-logging</groupId>
  104. <artifactId>commons-logging</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework</groupId>
  110. <artifactId>spring-webmvc</artifactId>
  111. <version>${spring.version}</version>
  112. <scope>provided</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework</groupId>
  116. <artifactId>spring-tx</artifactId>
  117. <version>${spring.version}</version>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework</groupId>
  122. <artifactId>spring-jdbc</artifactId>
  123. <version>${spring.version}</version>
  124. <scope>provided</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-context-support</artifactId>
  129. <version>${spring.version}</version>
  130. <scope>provided</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework</groupId>
  134. <artifactId>spring-test</artifactId>
  135. <version>${spring.version}</version>
  136. <scope>provided</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.aspectj</groupId>
  140. <artifactId>aspectjweaver</artifactId>
  141. <version>${aspectjweaver.version}</version>
  142. <scope>provided</scope>
  143. </dependency>
  144. <!-- spring end -->
  145. <!--jsqlparser -->
  146. <dependency>
  147. <groupId>com.github.jsqlparser</groupId>
  148. <artifactId>jsqlparser</artifactId>
  149. <version>${jsqlparser.version}</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. <!--jsqlparser -->
  153. <!--druid -->
  154. <dependency>
  155. <groupId>com.alibaba</groupId>
  156. <artifactId>druid</artifactId>
  157. <version>${alibaba.druid.version}</version>
  158. <scope>provided</scope>
  159. </dependency>
  160. <!-- generator vm -->
  161. <dependency>
  162. <groupId>org.apache.velocity</groupId>
  163. <artifactId>velocity</artifactId>
  164. <version>${velocity.version}</version>
  165. <scope>provided</scope>
  166. </dependency>
  167. <!-- test begin -->
  168. <dependency>
  169. <groupId>mysql</groupId>
  170. <artifactId>mysql-connector-java</artifactId>
  171. <version>${mysql-connector-java.version}</version>
  172. <scope>test</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.mybatis.caches</groupId>
  176. <artifactId>mybatis-ehcache</artifactId>
  177. <version>${mybatis-ehcache.version}</version>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.oracle</groupId>
  182. <artifactId>ojdbc14</artifactId>
  183. <version>${ojdbc14.version}</version>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>ch.qos.logback</groupId>
  188. <artifactId>logback-classic</artifactId>
  189. <version>${logback-classic.version}</version>
  190. <scope>test</scope>
  191. </dependency>
  192. <dependency>
  193. <groupId>junit</groupId>
  194. <artifactId>junit</artifactId>
  195. <version>${junit.version}</version>
  196. <scope>test</scope>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.apache.commons</groupId>
  200. <artifactId>commons-dbcp2</artifactId>
  201. <version>${commons.dbcp2.version}</version>
  202. <scope>test</scope>
  203. <exclusions>
  204. <exclusion>
  205. <groupId>commons-logging</groupId>
  206. <artifactId>commons-logging</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.apache.commons</groupId>
  212. <artifactId>commons-pool2</artifactId>
  213. <version>${commons.pool2.version}</version>
  214. <scope>test</scope>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.microsoft.sqlserver</groupId>
  218. <artifactId>sqljdbc4</artifactId>
  219. <version>${sqljdbc4.version}</version>
  220. <scope>test</scope>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.postgresql</groupId>
  224. <artifactId>postgresql</artifactId>
  225. <version>${postgresql.version}</version>
  226. <scope>test</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.h2database</groupId>
  230. <artifactId>h2</artifactId>
  231. <version>${h2.version}</version>
  232. <scope>test</scope>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.projectlombok</groupId>
  236. <artifactId>lombok</artifactId>
  237. <version>${lombok.version}</version>
  238. <scope>test</scope>
  239. </dependency>
  240. <!-- test end -->
  241. </dependencies>
  242. <build>
  243. <plugins>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-compiler-plugin</artifactId>
  247. <version>2.3.2</version>
  248. <configuration>
  249. <source>${java.version}</source>
  250. <target>${java.version}</target>
  251. <encoding>${project.build.sourceEncoding}</encoding>
  252. </configuration>
  253. </plugin>
  254. <!-- Source -->
  255. <plugin>
  256. <groupId>org.apache.maven.plugins</groupId>
  257. <artifactId>maven-source-plugin</artifactId>
  258. <version>2.2.1</version>
  259. <executions>
  260. <execution>
  261. <phase>package</phase>
  262. <goals>
  263. <goal>jar-no-fork</goal>
  264. </goals>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. <!-- Javadoc -->
  269. <plugin>
  270. <groupId>org.apache.maven.plugins</groupId>
  271. <artifactId>maven-javadoc-plugin</artifactId>
  272. <version>2.9.1</version>
  273. <executions>
  274. <execution>
  275. <phase>package</phase>
  276. <goals>
  277. <goal>jar</goal>
  278. </goals>
  279. <configuration>
  280. <javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
  281. <additionalparam>-Xdoclint:none</additionalparam>
  282. </configuration>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. <!-- GPG -->
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-gpg-plugin</artifactId>
  290. <version>1.6</version>
  291. <executions>
  292. <execution>
  293. <phase>verify</phase>
  294. <goals>
  295. <goal>sign</goal>
  296. </goals>
  297. </execution>
  298. </executions>
  299. </plugin>
  300. <!-- skipJunitTest -->
  301. <plugin>
  302. <groupId>org.apache.maven.plugins</groupId>
  303. <artifactId>maven-surefire-plugin</artifactId>
  304. <version>2.19.1</version>
  305. <configuration>
  306. <skipTests>true</skipTests>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </build>
  311. <profiles>
  312. <profile>
  313. <id>release</id>
  314. </profile>
  315. </profiles>
  316. </project>