提交 9ebd8c17 编写于 作者: R Robert Metzger

[FLINK-6812] Enforce Java8 when creating a release

This closes #4048
上级 c5955021
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册