/
githubmirror
/
netty
Обзор
Документация
Войти
/
githubmirror
/
netty
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.2
testsuite-jpms/pom.xml
450 строк
15 KB
Netty Project Bot
[maven-release-plugin] prepare for next development iteration
05 авг 2026, 01:25
05 авг 2026, 01:25
1b9dabf
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2020 The Netty Project ~ ~ The Netty Project licenses this file to you under the Apache License, ~ version 2.0 (the "License"); you may not use this file except in compliance ~ with the License. You may obtain a copy of the License at: ~ ~ https://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the ~ License for the specific language governing permissions and limitations ~ under the License. --> <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 https://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.netty</groupId> <artifactId>netty-parent</artifactId> <version>4.2.18.Final-SNAPSHOT</version> </parent> <artifactId>netty-testsuite-jpms</artifactId> <packaging>${packaging.type}</packaging> <name>Netty/Testsuite/JPMS</name> <properties> <revapi.skip>true</revapi.skip> <!-- Do not deploy this module --> <skipDeploy>true</skipDeploy> <maven.javadoc.skip>true</maven.javadoc.skip> <javaModuleName>io.netty.testsuite_jpms</javaModuleName> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <maven.compiler.release>11</maven.compiler.release> <useTestModulePath>true</useTestModulePath> <packaging.type>pom</packaging.type> </properties> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-buffer</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-base</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-handler</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-pkitesting</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-classes-kqueue</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-classes-epoll</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-classes-io_uring</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-tcnative-classes</artifactId> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <classifier>${jni.classifier}</classifier> <version>${tcnative.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http2</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http3</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-xml</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-compression</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-mqtt</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-smtp</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-memcache</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-stomp</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-socks</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-redis</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-haproxy</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-protobuf</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.protobuf.nano</groupId> <artifactId>protobuf-javanano</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-marshalling</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.marshalling</groupId> <artifactId>jboss-marshalling</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.marshalling</groupId> <artifactId>jboss-marshalling-serial</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-classes-macos</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-handler-ssl-ocsp</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.aayushatharva.brotli4j</groupId> <artifactId>brotli4j</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.3.5</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>skipTests</id> <activation> <property> <name>skipTests</name> </property> </activation> <properties> <skipNativeTestsuite>true</skipNativeTestsuite> </properties> </profile> <profile> <id>linux</id> <activation> <os> <family>linux</family> </os> </activation> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-native-quic</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> </dependencies> </profile> <profile> <id>osx</id> <activation> <os> <family>mac</family> </os> </activation> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> <!-- note : this is not yet tested with jlink --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-native-quic</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> </dependencies> </profile> <profile> <id>windows</id> <activation> <os> <family>windows</family> </os> </activation> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-native-quic</artifactId> <version>${project.version}</version> <classifier>${jni.classifier}</classifier> <scope>compile</scope> </dependency> </dependencies> </profile> <profile> <id>testsuite-jpms</id> <activation> <jdk>[11,)</jdk> </activation> <properties> <packaging.type>jlink</packaging.type> </properties> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-jlink-plugin</artifactId> <version>3.2.0</version> <extensions>true</extensions> <configuration> <addModules> <addModule>jdk.jdwp.agent</addModule> <addModule>io.netty.internal.tcnative.openssl.${os.detected.name}.${os.detected.arch}</addModule> <addModule>io.netty.codec.quic.${os.detected.name}.${os.detected.arch}</addModule> </addModules> <ignoreSigningInformation>true</ignoreSigningInformation> <launcher>http=io.netty.testsuite_jpms.main/io.netty.testsuite_jpms.main.HttpHelloWorldServer</launcher> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <skipMain>${skipJpmsTestsuite}</skipMain> <skip>${skipJpmsTestsuite}</skip> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Exclude all dependencies which are automatic modules --> <classpathDependencyExcludes>org.hamcrest:*,net.sf.saxon:Saxon-HE,org.checkerframework:checker-qual,commons-logging:commons-logging,com.google.errorprone:error_prone_annotations,io.netty:netty-build-common,antlr:antlr,org.antlr:antlr4-runtime,com.puppycrawl.tools:checkstyle,commons-beanutils:commons-beanutils,commons-collections:commons-collections,com.google.code.findbugs:jsr305,com.google.j2objc:j2objc-annotations</classpathDependencyExcludes> <useModulePath>${useTestModulePath}</useModulePath> </configuration> <executions> <execution> <id>default-test</id> <configuration> <includes> <include>io/netty/testsuite_jpms/test/**/*.java</include> </includes> </configuration> </execution> <execution> <id>slf4j-test</id> <goals> <goal>test</goal> </goals> <configuration> <includes> <include>io/netty/testsuite_jpms/it/Slf4jTest.java</include> </includes> </configuration> </execution> <execution> <id>log4j-test</id> <goals> <goal>test</goal> </goals> <configuration> <classpathDependencyExcludes>ch.qos.logback:*,org.slf4j:*</classpathDependencyExcludes> <includes> <include>io/netty/testsuite_jpms/it/Log4jTest.java</include> </includes> </configuration> </execution> <execution> <id>commons-logging-test</id> <goals> <goal>test</goal> </goals> <configuration> <includes> <include>io/netty/testsuite_jpms/it/CommonsLoggingTest.java</include> </includes> </configuration> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-jlink-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>jdk8-tests</id> <properties> <skipTests>true</skipTests> <skipJpmsTestsuite>true</skipJpmsTestsuite> </properties> </profile> </profiles> </project>