You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2019/07/22 13:07:28 UTC

[tomee] 29/31: Update mockito and fix java.lang.NoClassDefFoundError for jaxb

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

jlmonteiro pushed a commit to branch tomee8-java11
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 89e0544fbcc3ad423c100da9ef5a7b0e8b24a8e3
Author: Daniel Cunha (soro) <da...@apache.org>
AuthorDate: Sat Mar 2 04:15:45 2019 -0300

    Update mockito and fix java.lang.NoClassDefFoundError for jaxb
---
 utils/openejb-mockito/pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/utils/openejb-mockito/pom.xml b/utils/openejb-mockito/pom.xml
index e3fa0be..1ec0aec 100644
--- a/utils/openejb-mockito/pom.xml
+++ b/utils/openejb-mockito/pom.xml
@@ -39,7 +39,7 @@
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
-      <version>2.7.9</version>
+      <version>2.20.0</version>
       <exclusions>
         <exclusion>
           <artifactId>hamcrest-core</artifactId>
@@ -47,5 +47,13 @@
         </exclusion>
       </exclusions>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.glassfish.jaxb</groupId>
+      <artifactId>jaxb-runtime</artifactId>
+    </dependency>
   </dependencies>
 </project>