From 9c5e04b419cf6ee7003fe305331a618c818208a5 Mon Sep 17 00:00:00 2001 From: "Ealden Esto E. Escanan" Date: Sun, 18 Sep 2011 14:51:20 +0800 Subject: [PATCH] Explicitly set encoding to UTF-8 for Maven modules It seems that it is not enough to set encoding on the root POM, as Maven 3 complains that encoding is not set for the submodules. Signed-off-by: Ealden Esto E. Escanan --- helloworld/pom.xml | 11 ++++++----- log4j/pom.xml | 2 +- stocks/pom.xml | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/helloworld/pom.xml b/helloworld/pom.xml index 7560936..178fa1d 100644 --- a/helloworld/pom.xml +++ b/helloworld/pom.xml @@ -18,6 +18,7 @@ true 3.0.5.RELEASE 1.0.0.RELEASE + UTF-8 @@ -39,7 +40,7 @@ org.springframework.amqp spring-rabbit ${spring.amqp.version} - + org.springframework @@ -70,15 +71,15 @@ 2.2 runtime - - + + junit junit 4.8.1 test - + org.slf4j slf4j-api @@ -102,7 +103,7 @@ 1.2.14 runtime - + diff --git a/log4j/pom.xml b/log4j/pom.xml index 5d10103..e48591d 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -18,6 +18,7 @@ true 3.0.5.RELEASE 1.0.0.RELEASE + UTF-8 @@ -208,4 +209,3 @@ - \ No newline at end of file diff --git a/stocks/pom.xml b/stocks/pom.xml index 925e6d5..4423e1d 100644 --- a/stocks/pom.xml +++ b/stocks/pom.xml @@ -17,6 +17,7 @@ true 3.0.5.RELEASE 1.0.0.RELEASE + UTF-8