-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1182 from inthirakumaaran/netty_jar
Add a new version of netty-all with netty-resolver-dns-native-macos runtime dependency
- Loading branch information
Showing
1 changed file
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<!-- | ||
~ Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). | ||
~ | ||
~ WSO2 LLC. 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 | ||
~ | ||
~ http://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 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.wso2.orbit.io.netty</groupId> | ||
<artifactId>netty-all</artifactId> | ||
<version>4.1.115.wso2v2</version> | ||
<packaging>bundle</packaging> | ||
<name>WSO2 Carbon Orbit - Netty (all)</name> | ||
<description>This bundle will export packages from netty-all library of io.netty</description> | ||
<url>http://wso2.org</url> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>wso2.releases</id> | ||
<name>WSO2 internal Repository</name> | ||
<url>https://maven.wso2.org/nexus/content/repositories/releases/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.netty</groupId> | ||
<artifactId>netty-all</artifactId> | ||
<version>${io.netty.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.netty</groupId> | ||
<artifactId>netty-resolver-dns-native-macos</artifactId> | ||
<version>${io.netty.version}</version> | ||
<classifier>osx-aarch_64</classifier> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.netty</groupId> | ||
<artifactId>netty-resolver-dns-native-macos</artifactId> | ||
<version>${io.netty.version}</version> | ||
<classifier>osx-x86_64</classifier> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>2.4.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | ||
<Bundle-Name>${project.artifactId}</Bundle-Name> | ||
<Export-Package> | ||
io.netty.*;version="${export.pkg.version.netty}" | ||
</Export-Package> | ||
<Private-Package> | ||
</Private-Package> | ||
<Import-Package> | ||
!io.netty.*, | ||
*;resolution:=optional | ||
</Import-Package> | ||
<Include-Resource> | ||
@netty-resolver-dns-native-macos-${io.netty.version}-osx-aarch_64.jar!/META-INF/**, | ||
@netty-resolver-dns-native-macos-${io.netty.version}-osx-x86_64.jar!/META-INF/**, | ||
{maven-resources} | ||
</Include-Resource> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<properties> | ||
<io.netty.version>4.1.115.Final</io.netty.version> | ||
<export.pkg.version.netty>4.1.115.wso2v1</export.pkg.version.netty> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
</project> |