Permalink
Browse files

Ensure native transport is included in all and tarball

  • Loading branch information...
1 parent 55d0f36 commit 0b3e10ed4046cb4adff372aba1c9c15bca1f6173 @normanmaurer normanmaurer committed Feb 17, 2014
Showing with 21 additions and 3 deletions.
  1. +21 −3 all/pom.xml
View
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 0b3e10e

Please sign in to comment.