Skip to content

Commit

Permalink
Ensure native transport is included in all and tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Maurer committed Feb 17, 2014
1 parent 55d0f36 commit 0b3e10e
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,28 @@
</plugins>
</build>
</profile>
<profile>
<id>linux-native</id>
<activation>
<os>
<family>linux</family>
</os>
</activation>
<dependencies>
<!-- All release modules -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
</profiles>

<dependencies>

<!-- All release modules -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down Expand Up @@ -249,7 +267,7 @@
</goals>
<configuration>
<classifier>sources</classifier>
<includes>io/netty/**</includes>
<includes>io/netty/**,META-INF/native/**</includes>
<includeGroupIds>${project.groupId}</includeGroupIds>
<outputDirectory>${generatedSourceDir}</outputDirectory>
</configuration>
Expand All @@ -263,7 +281,7 @@
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includes>io/netty/**</includes>
<includes>io/netty/**,META-INF/native/**</includes>
<excludes>io/netty/example/**</excludes>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
</configuration>
Expand Down

0 comments on commit 0b3e10e

Please sign in to comment.