1 Star 0 Fork 3

m1ngyuan/swaggerPlugin

forked from 橘子酱/swaggerPlugin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 3.71 KB
一键复制 编辑 原始数据 按行查看 历史
橘子酱 提交于 2019-02-21 21:53 . first
<?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.swagger.plugin</groupId>
<artifactId>swaggerPlugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>swaggerPlugin</name>
<url>http://maven.apache.org</url>
<properties>
<java.version>1.8</java.version>
<swagger-annotations.version>1.5.12</swagger-annotations.version>
<swagger-ui.version>2.2.8</swagger-ui.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-parent</artifactId>
<version>Dalston.RELEASE</version>
</parent>
<dependencies>
<!-- runtime dependencies -->
<!-- spring boot -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- swagger -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>swagger-ui</artifactId>
<version>${swagger-ui.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!-- integration test -->
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- generate source -->
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>src/main/resources/static/swagger/ltci-agency-person-api-v1.yml</inputSpec>
<language>java</language>
<modelPackage>com.taikang.dic.ltci.api.model</modelPackage>
<configOptions>
<sourceFolder>src/gen/main/java</sourceFolder>
<dateLibrary>java8</dateLibrary>
</configOptions>
<library>feign</library>
<environmentVariables>
<models />
</environmentVariables>
</configuration>
</execution>
</executions>
</plugin>
<!-- package & run -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludeDevtools>true</excludeDevtools>
<!-- https://github.com/spring-projects/spring-boot/commit/6186262ecc205664016e39e4a7d0eba2646b5531#diff-55b1d4f88cb1895486ea1ef0362087c4
在1.4.2之后 Switch `excludeDevtools` to true by default。 -->
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/m1ngyuan/swaggerPlugin.git
git@gitee.com:m1ngyuan/swaggerPlugin.git
m1ngyuan
swaggerPlugin
swaggerPlugin
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385