pom.xml 9.4 KB

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