Ensure native transport is included in all and tarball

This commit is contained in:
Norman Maurer 2014-02-17 22:44:37 +01:00
parent 55d0f36a61
commit 0b3e10ed40

View File

@ -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>