You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/05/30 09:26:58 UTC

[flink-shaded] branch master updated: [release] Enforce java 1.8

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new 4892bf4  [release] Enforce java 1.8
4892bf4 is described below

commit 4892bf4da3a5b5bca378a609e45a7bd516384d62
Author: zentol <ch...@apache.org>
AuthorDate: Tue May 29 14:24:13 2018 +0200

    [release] Enforce java 1.8
    
    For consistency with the flink project we enforce usage of java 8 for flink-shaded.
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index ef77e64..bbac628 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,25 @@ under the License.
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-enforcer-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>enforce-maven</id>
+                                <goals>
+                                    <goal>enforce</goal>
+                                </goals>
+                                <configuration>
+                                    <rules>
+                                        <requireJavaVersion>
+                                            <version>1.8.0</version>
+                                        </requireJavaVersion>
+                                    </rules>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

-- 
To stop receiving notification emails like this one, please contact
chesnay@apache.org.