From 3022ce523540dc62d40d4e1adbda7ee0f5fbd3b7 Mon Sep 17 00:00:00 2001
From: Shinsuke Sugaya <shinsuke@apache.org>
Date: Sat, 2 Mar 2019 15:40:30 +0900
Subject: [PATCH] replace with release

---
 pom.xml | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index ced23fd2c..154738eea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,10 +34,6 @@
 		<version>9</version>
 	</parent>
 	<properties>
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-		<maven.compiler.source>11</maven.compiler.source>
-		<maven.compiler.target>11</maven.compiler.target>
-
 		<!-- Main Framework -->
 		<dbflute.version>1.1.8</dbflute.version>
 		<lastaflute.version>1.1.0</lastaflute.version>
@@ -101,16 +97,7 @@
 			</activation>
 			<properties>
 				<test.include.path>**/*Test.java</test.include.path>
-			</properties>
-		</profile>
-		<profile>
-			<id>build-jdk9</id>
-			<activation>
-				<jdk>9</jdk>
-			</activation>
-			<properties>
-				<test.include.path>**/*Test.java</test.include.path>
-				<test.command.args>--add-modules java.xml.bind</test.command.args>
+				<test.command.args>--illegal-access=permit</test.command.args>
 			</properties>
 		</profile>
 		<profile>
@@ -139,8 +126,7 @@
 				<artifactId>maven-compiler-plugin</artifactId>
 				<version>3.8.0</version>
 				<configuration>
-					<source>${maven.compiler.source}</source>
-					<target>${maven.compiler.target}</target>
+					<release>11</release>
 					<encoding>UTF-8</encoding>
 				</configuration>
 			</plugin>
-- 
GitLab