Skip to content

Commit

Permalink
Add profile depending on netty-resolver-dns-native-macos
Browse files Browse the repository at this point in the history
Profile is enabled when building in macOS
  • Loading branch information
gastaldi committed Nov 12, 2024
1 parent b9bbf47 commit 79c4c72
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.quarkiverse</groupId>
Expand Down Expand Up @@ -164,6 +165,22 @@
</pluginManagement>
</build>
<profiles>
<profile>
<id>apple-silicon</id>
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<classifier>osx-aarch_64</classifier>
</dependency>
</dependencies>
</profile>
<profile>
<id>docs</id>
<activation>
Expand All @@ -189,4 +206,4 @@
</modules>
</profile>
</profiles>
</project>
</project>

0 comments on commit 79c4c72

Please sign in to comment.