|
|
@@ -0,0 +1,96 @@
|
|
|
+<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.shkpr.service</groupId>
|
|
|
+ <!--工件名-->
|
|
|
+ <artifactId>KprCustomGateway</artifactId>
|
|
|
+ <!--版本号-->
|
|
|
+ <version>1.0.0-dev</version>
|
|
|
+ <!--项目名-->
|
|
|
+ <name>KprCustomGateway</name>
|
|
|
+
|
|
|
+ <!--项目描述-->
|
|
|
+ <description>
|
|
|
+ 项目定制网关服务,作用于项目定制用
|
|
|
+ 访问路由前缀为:网关路径/项目名称/项目子路径
|
|
|
+ 如:/custom-gw/zy-dma/xxx
|
|
|
+ </description>
|
|
|
+
|
|
|
+
|
|
|
+ <!--属性配置+统一版本管理-->
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
+
|
|
|
+ <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <!--依赖项-->
|
|
|
+ <dependencies>
|
|
|
+ <!--spring-web-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--spring-test-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--lombok-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <!--构建脚本-->
|
|
|
+ <build>
|
|
|
+ <!-- 打成jar包的名称 -->
|
|
|
+ <finalName>v1-alam-biz-plugin-${version}</finalName>
|
|
|
+ <!--插件项-->
|
|
|
+ <plugins>
|
|
|
+ <!--maven-compiler-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <!--spring-boot-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <!--仓库-->
|
|
|
+ <repositories>
|
|
|
+ <!--阿里中央-->
|
|
|
+ <repository>
|
|
|
+ <id>central</id>
|
|
|
+ <url>https://maven.aliyun.com/repository/central</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+
|
|
|
+ <!--依赖控制-->
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <!--spring依赖控制-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-dependencies</artifactId>
|
|
|
+ <version>${spring.boot.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+</project>
|