aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-06-21 16:02:53 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-06-21 16:02:53 -0700
commit9c2bb321b510d5ecac46d1487a130b60d50336e7 (patch)
treed1b228dadd2aa1097cb52aadbfc12c649fd89ae7
parent7f1c152811dcc061e2a6609db204830bb4b75cc7 (diff)
Make license check warning only for now
Make license check warning only for now. Set default java version to 8. Change-Id: Idbbc617c739a45bbecbfdd3f8bc394e648b852a8 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--checkstyle/src/main/resources/check-license.xml2
-rw-r--r--pom.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/checkstyle/src/main/resources/check-license.xml b/checkstyle/src/main/resources/check-license.xml
index 91ca948..2a0acd0 100644
--- a/checkstyle/src/main/resources/check-license.xml
+++ b/checkstyle/src/main/resources/check-license.xml
@@ -10,7 +10,7 @@
<module name = "Checker">
<property name="charset" value="UTF-8"/>
- <property name="severity" value="error"/>
+ <property name="severity" value="warning"/>
<module name="RegexpHeader">
<property name="headerFile" value="${checkstyle.header.file}"/>
diff --git a/pom.xml b/pom.xml
index b6e3637..46a8d73 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,8 @@
<module>license</module>
</modules>
<properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
<jacoco.version>0.7.7.201606060606</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>