From 9a0f8e8d412c59daaeb1c1b86af2f06a70c81e87 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 22 May 2014 19:11:01 +0900 Subject: [PATCH] Fix packagine issues in all-in-one JAR Motivation: - dependencyVersionsDir property is not resolved during the build process. The build doesn't fail because of this, but it creates an ugly directory. - All-in-one JAR contains libnetty-tcnative.so, which is not part of the all-in-one JAR. Modifications: - Fix an incorrect property name (dependencyVersionDir -> dependencyVersionsDir) - Exclude libnetty-tcnative.so - Remove unnecessary includes in source expanding configuration Result: - Cleaner pom.xml - We do not ship libnetty-tcnative.so in all-in-one JAR anymore, which is correct, because strictly speaking the native library belongs to org.apache.tomcat.jni package. --- all/pom.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/all/pom.xml b/all/pom.xml index d1cde9da9c..c0e103195d 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -31,7 +31,7 @@ true ${project.build.directory}/src - ${project.build.directory}/versions + ${project.build.directory}/versions @@ -249,7 +249,7 @@ sources - io/netty/**,META-INF/native/** + io/netty/** ${project.groupId} ${generatedSourceDir} @@ -263,8 +263,9 @@ unpack-dependencies + io/netty/example/**,META-INF/native/libnetty-tcnative* io/netty/**,META-INF/native/** - io/netty/example/** + ${project.groupId} ${project.build.outputDirectory} @@ -316,7 +317,7 @@ - +