You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2019/02/22 23:40:27 UTC

svn commit: r1854181 - /velocity/engine/branches/VELOCITY-892/pom.xml

Author: cbrisson
Date: Fri Feb 22 23:40:27 2019
New Revision: 1854181

URL: http://svn.apache.org/viewvc?rev=1854181&view=rev
Log:
VELOCITY-892 needs jdk 1.8

Modified:
    velocity/engine/branches/VELOCITY-892/pom.xml

Modified: velocity/engine/branches/VELOCITY-892/pom.xml
URL: http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-892/pom.xml?rev=1854181&r1=1854180&r2=1854181&view=diff
==============================================================================
--- velocity/engine/branches/VELOCITY-892/pom.xml (original)
+++ velocity/engine/branches/VELOCITY-892/pom.xml Fri Feb 22 23:40:27 2019
@@ -45,8 +45,8 @@
     <slf4j.version>1.7.25</slf4j.version>
     <surefire.plugin.version>2.19.1</surefire.plugin.version>
     <jira.browse.url>https://issues.apache.org/jira/browse</jira.browse.url>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
   </properties>
 
   <!-- java 8 doclint checks are too strict for our current javadoc state... -->
@@ -144,6 +144,9 @@
                 <enforceBytecodeVersion>
                   <maxJdkVersion>${maven.compiler.target}</maxJdkVersion>
                 </enforceBytecodeVersion>
+                <requireJavaVersion>
+                  <version>[1.8,)</version>
+                </requireJavaVersion>
               </rules>
               <fail>true</fail>
             </configuration>