Skip to content

Commit

Permalink
[FLINK-6812] Enforce Java8 when creating a release
Browse files Browse the repository at this point in the history
This closes apache#4048
  • Loading branch information
rmetzger committed Jun 7, 2017
1 parent c595502 commit 9ebd8c1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,9 @@ under the License.

<profile>
<id>release</id>
<properties>
<java.version>1.7</java.version>
</properties>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 9ebd8c1

Please sign in to comment.