From e23a688c63bdd6fe2a77786145c9b66a6ca92eb4 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 d7de1dbd45..704a260df9 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 @@ -256,7 +256,7 @@ sources - io/netty/**,META-INF/native/** + io/netty/** ${project.groupId} ${generatedSourceDir} @@ -270,8 +270,9 @@ unpack-dependencies + io/netty/example/**,META-INF/native/libnetty-tcnative* io/netty/**,META-INF/native/** - io/netty/example/** + ${project.groupId} ${project.build.outputDirectory} @@ -323,7 +324,7 @@ - +