| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?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>
- <parent>
- <groupId>com.jnpf</groupId>
- <artifactId>jnpf-dependencies</artifactId>
- <version>6.0.0-RELEASE</version>
- </parent>
- <artifactId>jnpf-file-core-starter</artifactId>
- <version>6.0.0-RELEASE</version>
- <packaging>pom</packaging>
- <modules>
- <module>jnpf-file-core-spring</module>
- <module>jnpf-file-core</module>
- </modules>
- <properties>
- <!--使用5.0.0版本, 新版本使用新JDK编译, 在JDK8的情况下无法编译-->
- <jakarata.servlet-api.version>5.0.0</jakarata.servlet-api.version>
- <javax.servlet-api.version>4.0.1</javax.servlet-api.version>
- <!--region 3rd SDK-->
- <!--endregion-->
- <!--region Maven Plugins-->
- <!--endregion-->
- </properties>
- <dependencyManagement>
- <dependencies>
- <!--region 1rd-->
- <dependency>
- <groupId>com.jnpf</groupId>
- <artifactId>jnpf-file-core-spring</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.jnpf</groupId>
- <artifactId>jnpf-file-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!--endregion-->
- </dependencies>
- </dependencyManagement>
- <profiles>
- <profile>
- <id>boot3</id>
- <activation>
- <jdk>[17,)</jdk>
- </activation>
- <properties>
- <!--这里修改JDK版本号, 1.8, 11, 17-->
- <java.version>21</java.version>
- <!--最高版本语言特性-->
- <maven.compiler.source>1.8</maven.compiler.source>
- <!--最低运行JDK版本-->
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
- </profile>
- <profile>
- <id>boot2</id>
- <activation>
- <jdk>(,17)</jdk>
- </activation>
- <properties>
- <!--这里修改JDK版本号, 1.8, 11, 17-->
- <java.version>1.8</java.version>
- <!--最高版本语言特性-->
- <maven.compiler.source>1.8</maven.compiler.source>
- <!--最低运行JDK版本-->
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
- </profile>
- </profiles>
- </project>
|