[
https://issues.apache.org/jira/browse/OAK-12251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089136#comment-18089136
]
Julian Reschke commented on OAK-12251:
--------------------------------------
{quote}Consolidating transitive test dependencies is actually pointless or
hamful:
they vary with the dependency they come from; and that might actually be by
design or needed
when they change: removal - we are left with noise in the parent pom; version
change: we would actually have the incorect version.
{quote}
> Consolidate test-scoped dependencies (Mockito, JUnit extras)
> ------------------------------------------------------------
>
> Key: OAK-12251
> URL: https://issues.apache.org/jira/browse/OAK-12251
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Reporter: Benjamin Habegger
> Priority: Major
>
> Centralise test-scoped dependency declarations in oak-parent:
> - *Mockito*: extract {{mockito.version}} property (5.20.0); use it in
> dependencyManagement; add {{test}} scope to {{mockito-core}}, {{easymock}},
> {{slf4j-simple}}; add transitive dependencies ({{byte-buddy}}, {{objenesis}},
> {{asm}}) to dependencyManagement.
> - *Pax OSGi transitives*: add {{pax-swissbox-tracker}}, {{tinybundles}},
> {{pax-url-commons}} to dependencyManagement to align versions pulled in by
> Pax Exam.
> - *JUnit extras*: add {{junit-addons}} and
> {{mockserver-junit-rule-no-dependencies}} to dependencyManagement with test
> scope.
> All changes are test-scoped and do not affect production code or OSGi bundles.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)