[
https://issues.apache.org/jira/browse/HADOOP-18817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745082#comment-17745082
]
ASF GitHub Bot commented on HADOOP-18817:
-----------------------------------------
gp1314 opened a new pull request, #5867:
URL: https://github.com/apache/hadoop/pull/5867
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
The compilation failed when I packaged through the maven command
`mvn clean install -DskipTests -Dtar -Pdist -Pnative
`
report an error:
```
[WARNING]
Dependency convergence error for
com.amazonaws:aws-java-sdk-simpleworkflow:1.12.367 paths to dependency are:
+-org.apache.hadoop:hadoop-aws:3.3.6
+-com.amazonaws:aws-java-sdk-bundle:1.12.367
+-com.amazonaws:aws-java-sdk:1.12.367
+-com.amazonaws:aws-java-sdk-simpleworkflow:1.12.367
and
+-org.apache.hadoop:hadoop-aws:3.3.6
+-com.amazonaws:aws-java-sdk-bundle:1.12.367
+-com.amazonaws:aws-java-sdk:1.12.367
+-com.amazonaws:aws-java-sdk-swf-libraries:1.11.22
+-com.amazonaws:aws-java-sdk-simpleworkflow:1.11.22
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence
failed with message:
Failed while enforcing releasability. See above detailed error message.
```
com.amazonaws:aws-java-sdk-swf-libraries are not required
### How was this patch tested?
unit test.
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Exclude aws-java-sdk-swf-libraries packages to avoid compilation failures
> -------------------------------------------------------------------------
>
> Key: HADOOP-18817
> URL: https://issues.apache.org/jira/browse/HADOOP-18817
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 3.3.6
> Reporter: kuper
> Priority: Major
>
> The compilation failed when I packaged through the maven command
>
> {code:java}
> mvn clean install -DskipTests -Dtar -Pdist -Pnative {code}
>
>
> report an error:
>
> {code:java}
> [WARNING]
> Dependency convergence error for
> com.amazonaws:aws-java-sdk-simpleworkflow:1.12.367 paths to dependency are:
> +-org.apache.hadoop:hadoop-aws:3.3.6
> +-com.amazonaws:aws-java-sdk-bundle:1.12.367
> +-com.amazonaws:aws-java-sdk:1.12.367
> +-com.amazonaws:aws-java-sdk-simpleworkflow:1.12.367
> and
> +-org.apache.hadoop:hadoop-aws:3.3.6
> +-com.amazonaws:aws-java-sdk-bundle:1.12.367
> +-com.amazonaws:aws-java-sdk:1.12.367
> +-com.amazonaws:aws-java-sdk-swf-libraries:1.11.22
> +-com.amazonaws:aws-java-sdk-simpleworkflow:1.11.22
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence
> failed with message:
> Failed while enforcing releasability. See above detailed error message. {code}
>
> com.amazonaws:aws-java-sdk-swf-libraries are not required
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]