[
https://issues.apache.org/jira/browse/OAK-12251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088232#comment-18088232
]
Julian Reschke commented on OAK-12251:
--------------------------------------
Frankly: I see almost nothing to do here.
Consolidating *transitive* test dependencies is actually pointless or hamful:
* they vary with the depency they come from; and that might axtually be by
design or needed
* when they change: removal - we are left with noise in the parent pom;
verision change: we would actually have the incorect version.
That sounds like a maintenance nightmare to me.
> 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)