From 617739c515876d046a29389ca254ab86b2cccb6a Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 7 Feb 2014 13:40:22 -0800 Subject: [PATCH] Simplify exec-maven-plugin configuration - Move the version number to the parent pom's pluginManagement section - Remove unnecessary system properties - Increase the scope of execution from compile to runtime --- example/pom.xml | 18 ++---------------- pom.xml | 5 +++++ 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/example/pom.xml b/example/pom.xml index 106a0a542b..9710f2640f 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -128,7 +128,6 @@ org.codehaus.mojo exec-maven-plugin - 1.2.1 ${java.home}/bin/java @@ -137,13 +136,7 @@ io.netty.example.spdy.server.SpdyServer - compile - - - io.netty.leakDetectionLevel - disabled - - + runtime @@ -156,7 +149,6 @@ org.codehaus.mojo exec-maven-plugin - 1.2.1 ${java.home}/bin/java @@ -165,13 +157,7 @@ io.netty.example.spdy.client.SpdyClient - compile - - - io.netty.leakDetectionLevel - disabled - - + runtime diff --git a/pom.xml b/pom.xml index 53982e07b5..1b73228b82 100644 --- a/pom.xml +++ b/pom.xml @@ -756,6 +756,11 @@ build-helper-maven-plugin 1.8 + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 +