You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mx...@apache.org on 2015/10/06 11:18:25 UTC

flink git commit: [FLINK-1610] fix building of java doc for Java 8

Repository: flink
Updated Branches:
  refs/heads/release-0.9 2b6a837a2 -> cf6f87b5e


[FLINK-1610] fix building of java doc for Java 8

This closes #1225.


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

Branch: refs/heads/release-0.9
Commit: cf6f87b5e2cff79c6a46501fc88871675550e612
Parents: 2b6a837
Author: Maximilian Michels <mx...@apache.org>
Authored: Mon Oct 5 15:13:48 2015 +0200
Committer: Maximilian Michels <mx...@apache.org>
Committed: Tue Oct 6 11:18:00 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/cf6f87b5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3e360af..a83d6d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -558,6 +558,21 @@ under the License.
 					</plugin>
 				</plugins>
 			</build>
+			<dependencies>
+				<dependency>
+					<!--
+					This is necessary for building the java docs using Java 8. Otherwise the javadoc
+					plugin will fail with "javadoc: error -
+						com.sun.tools.doclets.internal.toolkit.util.DocletAbortException:
+							com.sun.tools.javac.code.Symbol$CompletionFailure:
+								class file for akka.testkit.TestKit not found"
+					-->
+					<groupId>com.typesafe.akka</groupId>
+					<artifactId>akka-testkit_${scala.binary.version}</artifactId>
+					<version>${akka.version}</version>
+					<scope>provided</scope>
+				</dependency>
+			</dependencies>
 		</profile>
 		
 		<profile>