You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

204 lines
7.4 KiB

3 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <version>2.5.0</version>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. </parent>
  8. <name>iboot:root</name>
  9. <version>1.2.0</version>
  10. <packaging>pom</packaging>
  11. <groupId>com.iteaj</groupId>
  12. <artifactId>iboot</artifactId>
  13. <modelVersion>4.0.0</modelVersion>
  14. <modules>
  15. <!-- 代码生成器 -->
  16. <module>generator</module>
  17. <!--系统架构层-->
  18. <module>framework</module>
  19. <!--项目启动SpringBoot入口-->
  20. <module>bootstrap</module>
  21. </modules>
  22. <properties>
  23. <p6spy.version>3.8.6</p6spy.version>
  24. <kaptcha.version>2.3.2</kaptcha.version>
  25. <servlet.version>3.1.0</servlet.version>
  26. <shiro.version>1.7.1</shiro.version>
  27. <okhttp3.version>4.5.0</okhttp3.version>
  28. <iutils.version>1.3.2</iutils.version>
  29. <excelpoi.version>4.3.0</excelpoi.version>
  30. <fastjson.version>1.2.78</fastjson.version>
  31. <izone.boot.version>1.2.1</izone.boot.version>
  32. <mybatis.plus.version>3.4.1</mybatis.plus.version>
  33. <maven.compiler.source>1.8</maven.compiler.source>
  34. <maven.compiler.target>1.8</maven.compiler.target>
  35. </properties>
  36. <scm>
  37. <url>https://gitee.com/iteaj/izone-sboot.git</url>
  38. <connection>scm:git:https://gitee.com/iteaj/izone-sboot.git</connection>
  39. <developerConnection>scm:git:https://gitee.com/iteaj/izone-sboot.git</developerConnection>
  40. </scm>
  41. <developers>
  42. <developer>
  43. <name>iteaj</name>
  44. <email>iteaj@outlook.com</email>
  45. <url>http://www.iteaj.com</url>
  46. </developer>
  47. </developers>
  48. <dependencies>
  49. <dependency>
  50. <groupId>com.iteaj</groupId>
  51. <artifactId>iutils</artifactId>
  52. <version>${iutils.version}</version>
  53. </dependency>
  54. <!--spring boot-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter</artifactId>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.apache.logging.log4j</groupId>
  61. <artifactId>log4j-to-slf4j</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <!--其他全局类库-->
  66. <dependency>
  67. <groupId>com.baomidou</groupId>
  68. <version>${mybatis.plus.version}</version>
  69. <artifactId>mybatis-plus-extension</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-json</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-web</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <dependency>
  82. <artifactId>kaptcha</artifactId>
  83. <version>${kaptcha.version}</version>
  84. <groupId>com.github.penggle</groupId>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <version>${mybatis.plus.version}</version>
  89. <artifactId>mybatis-plus-boot-starter</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>mysql</groupId>
  93. <artifactId>mysql-connector-java</artifactId>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  96. <dependency>
  97. <scope>provided</scope>
  98. <artifactId>lombok</artifactId>
  99. <groupId>org.projectlombok</groupId>
  100. </dependency>
  101. </dependencies>
  102. <dependencyManagement>
  103. <dependencies>
  104. <dependency>
  105. <groupId>com.baomidou</groupId>
  106. <version>${mybatis.plus.version}</version>
  107. <artifactId>mybatis-plus-generator</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.shiro</groupId>
  111. <version>${shiro.version}</version>
  112. <artifactId>shiro-spring</artifactId>
  113. </dependency>
  114. <dependency>
  115. <artifactId>okhttp</artifactId>
  116. <version>${okhttp3.version}</version>
  117. <groupId>com.squareup.okhttp3</groupId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-starter-logging</artifactId>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>org.apache.logging.log4j</groupId>
  125. <artifactId>log4j-to-slf4j</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129. </dependencies>
  130. </dependencyManagement>
  131. <profiles>
  132. <!-- 多环境配置 -->
  133. <profile>
  134. <id>dev</id> <!--开发环境-->
  135. <activation>
  136. <activeByDefault>true</activeByDefault>
  137. </activation>
  138. <properties>
  139. <profiles.active.env>dev</profiles.active.env>
  140. </properties>
  141. </profile>
  142. <profile>
  143. <id>test</id> <!--测试环境-->
  144. <properties>
  145. <profiles.active.env>test</profiles.active.env>
  146. </properties>
  147. </profile>
  148. <profile>
  149. <id>prod</id> <!--正式环境-->
  150. <properties>
  151. <profiles.active.env>prod</profiles.active.env>
  152. </properties>
  153. </profile>
  154. </profiles>
  155. <repositories>
  156. <repository>
  157. <id>aliMaven</id>
  158. <releases>
  159. <enabled>true</enabled>
  160. </releases>
  161. <snapshots>
  162. <enabled>false</enabled>
  163. </snapshots>
  164. <name>aliYun maven</name>
  165. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  166. </repository>
  167. </repositories>
  168. <build>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-release-plugin</artifactId>
  173. <configuration>
  174. <mavenExecutorId>forked-path</mavenExecutorId>
  175. <useReleaseProfile>false</useReleaseProfile>
  176. <arguments>-Poss-release</arguments>
  177. <providerImplementations>
  178. <git>jgit</git>
  179. </providerImplementations>
  180. <username>${gitee.user}</username>
  181. <password>${gitee.password}</password>
  182. <tagBase>${project.version}-release</tagBase>
  183. <!--<goals>-f pom.xml deploy</goals>-->
  184. </configuration>
  185. <dependencies>
  186. <dependency>
  187. <version>1.9.5</version>
  188. <groupId>org.apache.maven.scm</groupId>
  189. <artifactId>maven-scm-provider-jgit</artifactId>
  190. </dependency>
  191. </dependencies>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. </project>