[ 
https://issues.apache.org/jira/browse/TINKERPOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834890#comment-17834890
 ] 

ASF GitHub Bot commented on TINKERPOP-3060:
-------------------------------------------

HappyHacker123 opened a new pull request, #2546:
URL: https://github.com/apache/tinkerpop/pull/2546

   Currently some modules of Tinkerpop are using the same dependency. However, 
some of these dependencies' versions are not centrally managed and therefore 
cause discrepancy. This pr defines version in parent pom.xml centrally to avoid 
version conflict.




> Dependency inconsistency between modules.
> -----------------------------------------
>
>                 Key: TINKERPOP-3060
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3060
>             Project: TinkerPop
>          Issue Type: Improvement
>            Reporter: Wei Zhao
>            Priority: Major
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> h3. Problem Desciption
> Currently some modules of Tinkerpop are using the same dependency. However, 
> some of these dependencies' versions are not centrally managed and therefore 
> cause discrepancy.
> I found the following dependencies with different versions in different 
> modules.
> {code:java}
> Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions.
>     Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, 
> version=1.1.8.4}
>         /spark-gremlin
>     Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, 
> version=1.1.8.2}
>         /hadoop-gremlin
> ---------
> Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent 
> versions.
>     Dependency {groupId=com.fasterxml.jackson.core, 
> artifactId=jackson-databind, version=2.15.2}
>         /gremlin-shaded
>     Dependency {groupId=com.fasterxml.jackson.core, 
> artifactId=jackson-databind, version=2.13.5}
>         /spark-gremlin
>         /hadoop-gremlin
> ---------
> {code}
> h3. Possible Outcome:
> This increases the maintenance workload and may lead to dependency conflict 
> for downstream projects. So it's better to align the versions of the 
> dependencies if the discrepancy is not intentional.
> h3. Possible Solution
> Align the versions of the dependencies to ensure consistency and avoid 
> possible conflicts. And if it's possible, manage the versions of the 
> dependencies centrally.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to