From 48ed70c1aa13a1d9b0a03d617edd1772f6aba314 Mon Sep 17 00:00:00 2001 From: Xiaoyan Lin Date: Fri, 27 May 2016 13:11:28 -0700 Subject: [PATCH] Add includeScope to not include test dependencies for maven-dependency-plugin Motivation: maven-dependency-plugin will include dependencies of all scopes by default. We should limit the scope to avoid pulling test dependencies. See #5317. Modifications: Add includeScope to avoid pulling test dependencies. Result: netty-all doesn't include codes from netty-build --- all/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/all/pom.xml b/all/pom.xml index 8228637a4a..ab9963047f 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -257,6 +257,7 @@ sources io/netty/** + runtime ${project.groupId} ${generatedSourceDir} @@ -272,6 +273,7 @@ io/netty/example/**,META-INF/native/libnetty-tcnative* io/netty/**,META-INF/native/** + runtime ${project.groupId} ${project.build.outputDirectory}