/
githubmirror
/
netty
Обзор
Документация
Войти
/
githubmirror
/
netty
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.2
all/pom.xml
524 строки
18 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 2012 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-all</artifactId> <packaging>jar</packaging> <name>Netty/All-in-One</name> <properties> <javaModuleName>io.netty.all</javaModuleName> <generatedSourceDir>${project.build.directory}/src</generatedSourceDir> <dependencyVersionsDir>${project.build.directory}/versions</dependencyVersionsDir> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-bom</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <profiles> <profile> <id>native-dependencies</id> <dependencies> <!-- Depend on all our native jars --> <!-- As this is executed on either macOS or Linux we directly need to specify the classifier --> <!-- These dependencies will also be "merged" into the dependency section by the flatten plugin --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-riscv64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-riscv64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <classifier>osx-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <classifier>osx-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> <classifier>osx-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> <classifier>osx-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>osx-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>osx-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>windows-x86_64</classifier> <scope>runtime</scope> </dependency> </dependencies> </profile> <profile> <id>linux-native-dependencies</id> <dependencies> <!-- Depend on all our native jars for linux only --> <!-- As this is executed on either macOS or Linux we directly need to specify the classifier --> <!-- These dependencies will also be "merged" into the dependency section by the flatten plugin --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>linux-riscv64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>linux-riscv64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>linux-x86_64</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>linux-aarch_64</classifier> <scope>runtime</scope> </dependency> </dependencies> </profile> <profile> <!-- Don't active this profile based on the OS we run on so the flatten plugin will not include it --> <id>linux</id> <dependencies> <!-- All release modules --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-epoll</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> </dependencies> </profile> <profile> <!-- Don't active this profile based on the OS we run on so the flatten plugin will not include it --> <id>mac</id> <dependencies> <!-- All release modules --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> <classifier>${jni.classifier}</classifier> <scope>runtime</scope> </dependency> </dependencies> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <configuration> <!-- We need to also merge the dependencies defined by our profile. --> <embedBuildProfileDependencies>true</embedBuildProfileDependencies> <!-- Ensure excludes are set correctly --> <flattenDependencyMode>all</flattenDependencyMode> <flattenMode>ossrh</flattenMode> </configuration> <executions> <!-- enable flattening --> <execution> <id>flatten</id> <phase>process-resources</phase> <goals> <goal>flatten</goal> </goals> </execution> <!-- ensure proper cleanup --> <execution> <id>flatten.clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <executions> <execution> <id>default</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict> <failBuildInCaseOfEqualContentConflict>true</failBuildInCaseOfEqualContentConflict> <failBuildInCaseOfConflict>true</failBuildInCaseOfConflict> <checkCompileClasspath>true</checkCompileClasspath> <checkRuntimeClasspath>true</checkRuntimeClasspath> <checkTestClasspath>false</checkTestClasspath> <ignoredClassPatterns> <ignoredClassPattern>^META-INF.versions.*$</ignoredClassPattern> </ignoredClassPatterns> <preferLocal>true</preferLocal> <useResultFile>true</useResultFile> <resultFile>${project.build.directory}/duplicate-finder-result.xml</resultFile> </configuration> </plugin> </plugins> </build> <dependencies> <!-- All release modules --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-buffer</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-base</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-dns</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-haproxy</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-compression</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http2</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-http3</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-memcache</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-mqtt</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-redis</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-smtp</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-socks</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-stomp</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-xml</artifactId> <scope>compile</scope> <exclusions> <exclusion> <groupId>com.fasterxml</groupId> <artifactId>aalto-xml</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-protobuf</artifactId> <scope>compile</scope> <exclusions> <exclusion> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> </exclusion> <exclusion> <groupId>com.google.protobuf.nano</groupId> <artifactId>protobuf-javanano</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-codec-marshalling</artifactId> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.jboss.marshalling</groupId> <artifactId>jboss-marshalling</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-common</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-handler</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-handler-proxy</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-handler-ssl-ocsp</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-rxtx</artifactId> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.rxtx</groupId> <artifactId>rxtx</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-sctp</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-udt</artifactId> <scope>compile</scope> <exclusions> <exclusion> <groupId>com.barchart.udt</groupId> <artifactId>barchart-udt-bundle</artifactId> </exclusion> </exclusions> </dependency> <!-- The native dependencies with the classifier are added by the native-dependencies profile. --> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-classes-epoll</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-transport-classes-kqueue</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>netty-resolver-dns-classes-macos</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-classes-io_uring</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-classes-quic</artifactId> <scope>compile</scope> </dependency> </dependencies> </project>