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 10:47:46 UTC

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

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

Branch: refs/heads/master
Commit: 352b041bbc51f6df838549cb5508c11bf6a54196
Parents: 9513f0e
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 10:46:18 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/352b041b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cfb94e1..2a5ff01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -582,6 +582,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>