/
NikolayIvkin
/
tutorials1
Обзор
Документация
Войти
/
NikolayIvkin
/
tutorials1
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
core-java-modules/core-java-21/pom.xml
48 строк
2 KB
Harry9656
Closes JAVA-33719: Maven surefire plugin upgrade. (#16774)
03 авг 2024, 22:31
Не верифицирован
03 авг 2024, 22:31
747e1f5
Код
Авторство
О чём код?
<?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> <artifactId>core-java-21</artifactId> <name>core-java-21</name> <parent> <groupId>com.baeldung.core-java-modules</groupId> <artifactId>core-java-modules</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>21</source> <target>21</target> <!-- Needed due to a bug with JDK 21, described here: https://issues.apache.org/jira/browse/MCOMPILER-546?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=17767513 --> <debug>false</debug> <compilerArgs> <arg>--enable-preview</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <argLine>--enable-preview</argLine> </configuration> </plugin> </plugins> </build> <properties> <maven.compiler.source.version>21</maven.compiler.source.version> <maven.compiler.target.version>21</maven.compiler.target.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </project>