pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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>1.4.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:juapk/mybatis-plus.git</connection>
  25. <developerConnection>scm:git:git@git.oschina.net:juapk/mybatis-plus.git</developerConnection>
  26. <url>git@git.oschina.net:juapk/mybatis-plus.git</url>
  27. </scm>
  28. <properties>
  29. <gpg.keyname>F4B46FB9</gpg.keyname>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <mybatis-spring.version>1.3.0</mybatis-spring.version>
  32. <mybatis.version>3.4.1</mybatis.version>
  33. <slf4j.version>1.7.21</slf4j.version>
  34. <logback-classic.version>1.1.7</logback-classic.version>
  35. <mysql-connector-java.version>5.1.38</mysql-connector-java.version>
  36. <ojdbc14.version>10.2.0.5.0</ojdbc14.version>
  37. <servlet-api.version>2.5</servlet-api.version>
  38. <spring.version>4.2.5.RELEASE</spring.version>
  39. <mybatis-ehcache.version>1.0.3</mybatis-ehcache.version>
  40. <junit.version>4.12</junit.version>
  41. <contiperf.version>2.3.4</contiperf.version>
  42. </properties>
  43. <dependencies>
  44. <dependency>
  45. <groupId>org.mybatis</groupId>
  46. <artifactId>mybatis-spring</artifactId>
  47. <version>${mybatis-spring.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mybatis</groupId>
  51. <artifactId>mybatis</artifactId>
  52. <version>${mybatis.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>javax.servlet</groupId>
  56. <artifactId>servlet-api</artifactId>
  57. <version>${servlet-api.version}</version>
  58. <scope>provided</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-api</artifactId>
  63. <version>${slf4j.version}</version>
  64. <scope>provided</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework</groupId>
  68. <artifactId>spring-jdbc</artifactId>
  69. <version>${spring.version}</version>
  70. <scope>provided</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-webmvc</artifactId>
  75. <version>${spring.version}</version>
  76. <scope>provided</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework</groupId>
  80. <artifactId>spring-context-support</artifactId>
  81. <version>${spring.version}</version>
  82. <scope>provided</scope>
  83. </dependency>
  84. <!-- test begin -->
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>${mysql-connector-java.version}</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.mybatis.caches</groupId>
  93. <artifactId>mybatis-ehcache</artifactId>
  94. <version>${mybatis-ehcache.version}</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.oracle</groupId>
  99. <artifactId>ojdbc14</artifactId>
  100. <version>${ojdbc14.version}</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>ch.qos.logback</groupId>
  105. <artifactId>logback-classic</artifactId>
  106. <version>${logback-classic.version}</version>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>junit</groupId>
  111. <artifactId>junit</artifactId>
  112. <version>${junit.version}</version>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.databene</groupId>
  117. <artifactId>contiperf</artifactId>
  118. <version>${contiperf.version}</version>
  119. <scope>test</scope>
  120. </dependency>
  121. <!-- test end -->
  122. </dependencies>
  123. <profiles>
  124. <profile>
  125. <id>release</id>
  126. <build>
  127. <plugins>
  128. <!-- Source -->
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-source-plugin</artifactId>
  132. <version>2.2.1</version>
  133. <executions>
  134. <execution>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>jar-no-fork</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <!-- Javadoc -->
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-javadoc-plugin</artifactId>
  146. <version>2.9.1</version>
  147. <executions>
  148. <execution>
  149. <phase>package</phase>
  150. <goals>
  151. <goal>jar</goal>
  152. </goals>
  153. <configuration>
  154. <additionalparam>-Xdoclint:none</additionalparam>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <!-- GPG -->
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-gpg-plugin</artifactId>
  163. <version>1.6</version>
  164. <executions>
  165. <execution>
  166. <phase>verify</phase>
  167. <goals>
  168. <goal>sign</goal>
  169. </goals>
  170. </execution>
  171. </executions>
  172. </plugin>
  173. <!-- skipJunitTest -->
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-surefire-plugin</artifactId>
  177. <version>2.19.1</version>
  178. <configuration>
  179. <skipTests>true</skipTests>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. <distributionManagement>
  185. <snapshotRepository>
  186. <id>oss</id>
  187. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  188. </snapshotRepository>
  189. <repository>
  190. <id>oss</id>
  191. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  192. </repository>
  193. </distributionManagement>
  194. </profile>
  195. </profiles>
  196. </project>