GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
Verbose Graph should not include provided dependencies
- Ngôn ngữ chính
- Java
- Star
- 163
- Fork
- 80
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
# hadoop-core:0.20.2 in beam-sdks-java-io-hcatalog dependency graph
https://gist.github.com/suztomo/e40eb79989d20317eb61784a9c8de654
```
(org.apache.hadoop:hadoop-core:0.20.2) org.apache.hadoop.hdfs.server.namenode.FSEditLog$EditLogFileInputStream's method isInProgress() is not implemented in the class;
referenced by 1 class file
org.apache.hadoop.hdfs.server.namenode.EditLogInputStream (org.apache.hadoop:hadoop-hdfs:2.6.0)
Cause:
Unknown
```
org.apache.hadoop:hadoop-core:0.20.2 is at:
```
org.apache.beam:beam-sdks-java-io-hcatalog:jar:2.19.0
/ org.apache.hive.hcatalog:hive-hcatalog-core:2.1.0 (provided)
/ org.apache.hive:hive-common:2.1.0 (compile)
/ org.apache.hive:hive-orc:2.1.0 (compile)
/ org.iq80.snappy:snappy:0.2 (compile)
/ org.apache.hadoop:hadoop-core:0.20.2 (provided)
```
This hadoop-core:0.20.2 should not have been used because Maven will not select this provided *transitive* dependency.
org.apache.hadoop:hadoop-hdfs:2.6.0 is at:
```
org.apache.beam:beam-sdks-java-io-hcatalog:jar:2.19.0
/ org.apache.hive.hcatalog:hive-hcatalog-core:2.1.0 (provided)
/ org.apache.hadoop:hadoop-hdfs:2.6.0 (compile)
```
# Auto-value's incap declaration
Auto-value declares incap-processor as provided ([link](https://search.maven.org/artifact/com.google.auto.value/auto-value/1.7.4/jar)). Interestingly this provided-scope declaration helps IDE-integration (incremental annotation processing support), as per https://github.com/tbroyer/gradle-incap-helper#usage.
```
net.ltgt.gradle.incap
incap-processor
0.2
provided
```
The auto-value users' projects will not have incap-processor artifacts at runtime.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.