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