pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2019 Of Him Code Technology Studio
  4. Jpom is licensed under Mulan PSL v2.
  5. You can use this software according to the terms and conditions of the Mulan PSL v2.
  6. You may obtain a copy of Mulan PSL v2 at:
  7. http://license.coscl.org.cn/MulanPSL2
  8. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  9. See the Mulan PSL v2 for more details.
  10. -->
  11. <project xmlns="http://maven.apache.org/POM/4.0.0"
  12. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  14. <parent>
  15. <artifactId>jpom-parent</artifactId>
  16. <groupId>org.dromara.jpom</groupId>
  17. <version>2.11.3.0</version>
  18. <relativePath>../../pom.xml</relativePath>
  19. </parent>
  20. <packaging>pom</packaging>
  21. <modules>
  22. <module>storage-module-common</module>
  23. <module>storage-module-h2</module>
  24. <module>storage-module-mysql</module>
  25. <module>storage-module-postgresql</module>
  26. <module>storage-module-mariadb</module>
  27. </modules>
  28. <modelVersion>4.0.0</modelVersion>
  29. <version>2.11.3.0</version>
  30. <groupId>org.dromara.jpom.storage-module</groupId>
  31. <artifactId>jpom-storage-module-parent</artifactId>
  32. <name>Jpom storage module</name>
  33. <description>
  34. Jpom 存储模块
  35. </description>
  36. <properties>
  37. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  38. <java.version>1.8</java.version>
  39. <!-- 跳过测试 -->
  40. <skipTests>true</skipTests>
  41. <maven.test.skip>true</maven.test.skip>
  42. </properties>
  43. <dependencies>
  44. </dependencies>
  45. <build>
  46. <plugins>
  47. <!-- 编译插件, 设定JDK版本 -->
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-compiler-plugin</artifactId>
  51. <version>3.8.0</version>
  52. <configuration>
  53. <source>${java.version}</source>
  54. <target>${java.version}</target>
  55. <encoding>${project.build.sourceEncoding}</encoding>
  56. </configuration>
  57. </plugin>
  58. <!--surefire插件,避免mvn test console乱码-->
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-surefire-plugin</artifactId>
  62. <version>2.22.0</version>
  63. <configuration>
  64. <forkMode>once</forkMode>
  65. <argLine>-Dfile.encoding=UTF-8</argLine>
  66. </configuration>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. <profiles>
  71. <profile>
  72. <id>release</id>
  73. <distributionManagement>
  74. <snapshotRepository>
  75. <id>maven-repo</id>
  76. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  77. </snapshotRepository>
  78. <repository>
  79. <id>maven-repo</id>
  80. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  81. </repository>
  82. </distributionManagement>
  83. <build>
  84. <plugins>
  85. <!-- source插件,打包源码 -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-source-plugin</artifactId>
  89. <version>2.4</version>
  90. <executions>
  91. <execution>
  92. <id>attach-sources</id>
  93. <goals>
  94. <goal>jar</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <!-- Javadoc -->
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-javadoc-plugin</artifactId>
  103. <version>3.0.0</version>
  104. <executions>
  105. <execution>
  106. <id>attach-javadoc</id>
  107. <phase>package</phase>
  108. <goals>
  109. <goal>jar</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. <configuration>
  114. <tags>
  115. <tag>
  116. <name>date</name>
  117. <placement>a</placement>
  118. <head>创建时间</head>
  119. </tag>
  120. </tags>
  121. </configuration>
  122. </plugin>
  123. <!-- GPG -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-gpg-plugin</artifactId>
  127. <version>3.0.1</version>
  128. <executions>
  129. <execution>
  130. <id>verify-gpg</id>
  131. <phase>verify</phase>
  132. <goals>
  133. <goal>sign</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.sonatype.plugins</groupId>
  140. <artifactId>nexus-staging-maven-plugin</artifactId>
  141. <version>1.6.13</version>
  142. <extensions>true</extensions>
  143. <configuration>
  144. <serverId>sonatype-nexus-staging</serverId>
  145. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  146. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  147. </configuration>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </profile>
  152. </profiles>
  153. <scm>
  154. <tag>master</tag>
  155. <url>git@gitee.com:dromara/Jpom.git</url>
  156. <connection>scm:git:git@gitee.com:dromara/Jpom.git</connection>
  157. <developerConnection>scm:git:git@gitee.com:dromara/Jpom.git</developerConnection>
  158. </scm>
  159. <developers>
  160. <developer>
  161. <name>bwcx_jzy</name>
  162. <email>bwcx_jzy@163.com</email>
  163. <organization>bwcx_jzy</organization>
  164. </developer>
  165. </developers>
  166. </project>