Repository: flink
Updated Branches:
  refs/heads/master c59550214 -> 9ebd8c177


[FLINK-6812] Enforce Java8 when creating a release

This closes #4048


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/9ebd8c17
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/9ebd8c17
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/9ebd8c17

Branch: refs/heads/master
Commit: 9ebd8c177881b55a94c2531a71944d610b2cadf8
Parents: c595502
Author: Robert Metzger <[email protected]>
Authored: Fri Jun 2 12:12:49 2017 +0200
Committer: Robert Metzger <[email protected]>
Committed: Wed Jun 7 12:16:01 2017 +0200

----------------------------------------------------------------------
 pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/9ebd8c17/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ac020b6..3ee1a45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -720,6 +720,9 @@ under the License.
                
                <profile>
                        <id>release</id>
+                       <properties>
+                               <java.version>1.7</java.version>
+                       </properties>
                        <build>
                                <plugins>
                                        <plugin>
@@ -752,7 +755,31 @@ under the License.
                                                                                
        <!-- maven version must be lower than 3.3. See FLINK-3158 -->
                                                                                
        <version>(,3.3)</version>
                                                                                
</requireMavenVersion>
+                                                                               
<requireJavaVersion>
+                                                                               
        <version>1.8.0</version>
+                                                                               
</requireJavaVersion>
                                                                        </rules>
+
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                                       <plugin>
+                                               
<groupId>org.apache.maven.plugins</groupId>
+                                               
<artifactId>maven-javadoc-plugin</artifactId>
+                                               
<version>2.9.1</version><!--$NO-MVN-MAN-VER$-->
+                                               <configuration>
+                                                       <quiet>true</quiet>
+                                               </configuration>
+                                               <executions>
+                                                       <execution>
+                                                               
<id>attach-javadocs</id>
+                                                               <goals>
+                                                                       
<goal>jar</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       
<additionalparam>-Xdoclint:none</additionalparam>
+                                                                       
<detectOfflineLinks>false</detectOfflineLinks>
                                                                </configuration>
                                                        </execution>
                                                </executions>

Reply via email to