[ 
https://issues.apache.org/jira/browse/IGNITE-19829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Shishkov updated IGNITE-19829:
-----------------------------------
    Description: 
In IGNITE-18318 Jackson dependency have been added with default scope, because 
it is necessary for {{kafka_2.12}} dependency. But, after IGNITE-18179 
{{kafka_2.12}} dependency is test scope, so we can move Jackson dependency to 
test scope too.

Below is dependency tree which had been present before explicit exclusion of 
jackson dependency was added into {{pom.xml}}:
{noformat}
+- org.apache.kafka:kafka_2.12:jar:2.7.0:test
|  +- org.apache.kafka:kafka-raft:jar:2.7.0:test
|  +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.5.1:test
{noformat}

As we can se that {{jackson-databind}} is used only in test scope, so it can be 
safely deleted from assembly.

  was:
In IGNITE-18318 Jackson dependency have been added with default scope, because 
it is necessary for kafka_2.12 dependency. But, after IGNITE-18179 kafka_2.12 
dependency is test scope, so we can move Jackson dependency to test scope too.

Below we can see from dependency tree, that _jackson-databind_ is used only in 
test scope:
{noformat}
+- org.apache.kafka:kafka_2.12:jar:2.7.0:test
|  +- org.apache.kafka:kafka-raft:jar:2.7.0:test
|  +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.5.1:test
{noformat}


> ignite-cdc-ext: move jackson-databind dependency to test scope
> --------------------------------------------------------------
>
>                 Key: IGNITE-19829
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19829
>             Project: Ignite
>          Issue Type: Task
>          Components: extensions
>            Reporter: Ilya Shishkov
>            Assignee: Ilya Shishkov
>            Priority: Minor
>              Labels: IEP-59, ise
>
> In IGNITE-18318 Jackson dependency have been added with default scope, 
> because it is necessary for {{kafka_2.12}} dependency. But, after 
> IGNITE-18179 {{kafka_2.12}} dependency is test scope, so we can move Jackson 
> dependency to test scope too.
> Below is dependency tree which had been present before explicit exclusion of 
> jackson dependency was added into {{pom.xml}}:
> {noformat}
> +- org.apache.kafka:kafka_2.12:jar:2.7.0:test
> |  +- org.apache.kafka:kafka-raft:jar:2.7.0:test
> |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.5.1:test
> {noformat}
> As we can se that {{jackson-databind}} is used only in test scope, so it can 
> be safely deleted from assembly.



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

Reply via email to