12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?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">
- <parent>
- <artifactId>jnpf-boot-common</artifactId>
- <groupId>com.jnpf</groupId>
- <version>5.2.0-RELEASE</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jnpf-common-swagger</artifactId>
- <dependencies>
- <!-- core模块 -->
- <dependency>
- <groupId>com.jnpf</groupId>
- <artifactId>jnpf-common-core</artifactId>
- </dependency>
- <!--<dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
- <version>${knife4j.version}</version>
- </dependency>
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
- <version>${knife4j.version}</version>
- </dependency>-->
- </dependencies>
- <profiles>
- <profile>
- <id>boot3</id>
- <activation>
- <jdk>[17,)</jdk>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>boot2</id>
- <activation>
- <jdk>(,17)</jdk>
- </activation>
- <dependencies>
- <!--引入Knife4j的官方start包,该指南选择Spring Boot版本<3.0,开发者需要注意-->
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
- </project>
|