You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2026/04/23 07:48:17 UTC

(commons-parent) branch master updated: fix: dependency management scope for `mockito-bom`

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 93de136  fix: dependency management scope for `mockito-bom`
93de136 is described below

commit 93de136583583df949995a59aa3c20d1289b90ee
Author: Piotr P. Karwasz <pk...@apache.org>
AuthorDate: Thu Apr 23 09:27:10 2026 +0200

    fix: dependency management scope for `mockito-bom`
    
    The `mockito-bom` artifact didn't have an `import` scope, so it was managed as an artifact instead of importing its dependencies.
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 4c30c4f..06f049e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -358,7 +358,8 @@
         <groupId>org.mockito</groupId>
         <artifactId>mockito-bom</artifactId>
         <version>${commons.mockito.version}</version>
-        <scope>test</scope>
+        <type>pom</type>
+        <scope>import</scope>
       </dependency>
     </dependencies>
   </dependencyManagement>