Repository: flink
Updated Branches:
  refs/heads/release-1.3 fdcdb1698 -> 977495856


[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/97749585
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/97749585
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/97749585

Branch: refs/heads/release-1.3
Commit: 97749585646e8a9556d3c1926682af24e1ac3985
Parents: fdcdb16
Author: Robert Metzger <[email protected]>
Authored: Fri Jun 2 12:12:49 2017 +0200
Committer: Robert Metzger <[email protected]>
Committed: Wed Jun 7 12:18:40 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/97749585/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 09e56ff..e5f51c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -723,6 +723,9 @@ under the License.
                
                <profile>
                        <id>release</id>
+                       <properties>
+                               <java.version>1.7</java.version>
+                       </properties>
                        <build>
                                <plugins>
                                        <plugin>
@@ -755,7 +758,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