1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.hosea.cloud.template</groupId>
- <artifactId>gateway</artifactId>
- <version>1.0.0</version>
- <name>Gateway Template ${version}</name>
- <description>网关模板</description>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <hosea-cloud.version>1.0.1</hosea-cloud.version>
- <service-user-client.version>1.0.0</service-user-client.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.hosea.cloud</groupId>
- <artifactId>cloud-gateway-maxkey</artifactId>
- </dependency>
- <!--region Admin客户端,不兼容JMX-->
- <dependency>
- <groupId>com.hosea.cloud</groupId>
- <artifactId>cloud-admin-client</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.jolokia</groupId>
- <artifactId>jolokia-support-spring</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--endregion-->
- <!--region 用户服务-->
- <dependency>
- <groupId>com.hosea.cloud.user</groupId>
- <artifactId>service-user-client</artifactId>
- <version>${service-user-client.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.hosea.cloud</groupId>
- <artifactId>cloud-webmvc</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--endregion-->
- </dependencies>
- <dependencyManagement>
- <dependencies>
- <!--region 微服务脚手架-->
- <dependency>
- <groupId>com.hosea.cloud</groupId>
- <artifactId>hosea-cloud</artifactId>
- <version>${hosea-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!--endregion-->
- </dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <!--region JDK版本-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>17</source>
- <target>17</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- <!--endregion-->
- <!--region Spring Boot 执行包-->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--endregion-->
- </plugins>
- </build>
- </project>
|