This is an automated email from the ASF dual-hosted git repository. hexiaoqiao pushed a commit to branch branch-3.2 in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 3f14715215ee2ebed175e5fd31b7dc21ae8e5468 Author: Takanobu Asanuma <[email protected]> AuthorDate: Tue Oct 9 13:06:14 2018 +0900 HADOOP-15775. [JDK9] Add missing javax.activation-api dependency. Contributed by Akira Ajisaka. --- hadoop-client-modules/hadoop-client-runtime/pom.xml | 7 +++++++ hadoop-common-project/hadoop-common/pom.xml | 5 +++++ hadoop-project/pom.xml | 5 +++++ 3 files changed, 17 insertions(+) diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml index b9f1f88..741c2dd 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -319,6 +319,13 @@ </excludes> </relocation> <relocation> + <pattern>javax/activation/</pattern> + <shadedPattern>${shaded.dependency.prefix}.javax.activation.</shadedPattern> + <excludes> + <exclude>**/pom.xml</exclude> + </excludes> + </relocation> + <relocation> <pattern>javax/ws/</pattern> <shadedPattern>${shaded.dependency.prefix}.javax.ws.</shadedPattern> <excludes> diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index f486136..ee79ba9 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -90,6 +90,11 @@ <scope>compile</scope> </dependency> <dependency> + <groupId>javax.activation</groupId> + <artifactId>javax.activation-api</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <scope>compile</scope> diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index b56d46f..40429bd 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -1497,6 +1497,11 @@ <artifactId>jcodings</artifactId> <version>1.0.13</version> </dependency> + <dependency> + <groupId>javax.activation</groupId> + <artifactId>javax.activation-api</artifactId> + <version>1.2.0</version> + </dependency> </dependencies> </dependencyManagement> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
