From 481988f4fe921c4ab3b0b264095f67926ab1df9d Mon Sep 17 00:00:00 2001
From: yu huang <286417333@qq.com>
Date: Thu, 7 Apr 2016 22:48:01 -0400
Subject: [PATCH] add maven compiler plugin version 1.6
add maven compiler plugin version 1.6, otherwise maven will use java 1.3 to compile the source code, which will lead for-each loop and generic errors.
---
SimpleMovingAvg/pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/SimpleMovingAvg/pom.xml b/SimpleMovingAvg/pom.xml
index 2b8ccd1..3ee1607 100644
--- a/SimpleMovingAvg/pom.xml
+++ b/SimpleMovingAvg/pom.xml
@@ -41,6 +41,14 @@
uber-${artifactId}-${version}
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 1.6
+ 1.6
+
+