]> source.dussan.org Git - javassist.git/commitdiff
Update pom.xml to specify that test code is Java 8
authorJohan Kaving <johan.kaving@symsoft.com>
Wed, 2 Jul 2014 11:46:48 +0000 (13:46 +0200)
committerJohan Kaving <johan.kaving@symsoft.com>
Wed, 2 Jul 2014 11:46:48 +0000 (13:46 +0200)
To get the test case JvstTest4.testMethodParameters() to work
the <testSource> and <testTarget> elements are set to "1.8"
and the compiler argument "-parameters" is added.

pom.xml

diff --git a/pom.xml b/pom.xml
index eac70838bd667ce7760e953fb1049c6efc79df3d..255a2a54d25cecb5e98696b97e0f4c14993833bc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <configuration>
           <source>1.6</source>
           <target>1.6</target>
-          <testSource>1.7</testSource>
-          <testTarget>1.7</testTarget>
+          <testSource>1.8</testSource>
+          <testTarget>1.8</testTarget>
+          <compilerArgument>-parameters</compilerArgument>
         </configuration>
       </plugin>
       <plugin>