YARN-8788. mvn package -Pyarn-ui fails on JDK9 This closes #421
Signed-off-by: Akira Ajisaka <aajis...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/907ef6c2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/907ef6c2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/907ef6c2 Branch: refs/heads/HEAD Commit: 907ef6c2858dc42d83cc228d13409830a7d7b163 Parents: 3bfff0f Author: Vidura Mudalige <vidura.mudal...@kohls.com> Authored: Tue Oct 2 23:33:43 2018 +0530 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Sun Oct 7 16:48:30 2018 +0900 ---------------------------------------------------------------------- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/907ef6c2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml index a80b580..7fda987 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml @@ -202,6 +202,14 @@ <groupId>ro.isdc.wro4j</groupId> <artifactId>wro4j-maven-plugin</artifactId> <version>1.7.9</version> + <dependencies> + <!-- TODO: Remove this dependency after upgrading wro4j-maven-plugin to 1.8.1 or later. --> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>2.18.0</version> + </dependency> + </dependencies> <executions> <execution> <phase>prepare-package</phase> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org