You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2017/05/26 17:33:40 UTC

svn commit: r1796316 - in /openwebbeans/trunk: ./ pom.xml

Author: struberg
Date: Fri May 26 17:33:40 2017
New Revision: 1796316

URL: http://svn.apache.org/viewvc?rev=1796316&view=rev
Log:
OWB-1182 force Java8

merged from -r1697857 originally done by rsandtner

Modified:
    openwebbeans/trunk/   (props changed)
    openwebbeans/trunk/pom.xml

Propchange: openwebbeans/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri May 26 17:33:40 2017
@@ -1 +1,2 @@
+/openwebbeans/branches/cdi-2.0:1697857
 /openwebbeans/branches/owb_1.2.x:1640945,1641609,1641684

Modified: openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/pom.xml?rev=1796316&r1=1796315&r2=1796316&view=diff
==============================================================================
--- openwebbeans/trunk/pom.xml (original)
+++ openwebbeans/trunk/pom.xml Fri May 26 17:33:40 2017
@@ -370,8 +370,8 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.5.1</version>
                 <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
+                    <source>1.8</source>
+                    <target>1.8</target>
                 </configuration>
             </plugin>
             <plugin>
@@ -449,6 +449,26 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce-java-version</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireJavaVersion>
+                                    <version>1.8</version>
+                                </requireJavaVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>