Skip to content

Commit

Permalink
update org.mockito imported bundle to required and update version used,
Browse files Browse the repository at this point in the history
fixes #2187

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
  • Loading branch information
odockal committed Nov 23, 2022
1 parent 9769e32 commit 1d2ab8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 2 additions & 3 deletions tests/org.eclipse.reddeer.junit.test/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ Bundle-Version: 4.4.0.qualifier
Bundle-Activator: org.eclipse.reddeer.junit.test.Activator
Require-Bundle: org.eclipse.reddeer.go;bundle-version="[2.2.0,4.4.1)",
org.hamcrest.library;bundle-version="1.3.0",
com.fasterxml.jackson.core.jackson-annotations
com.fasterxml.jackson.core.jackson-annotations,
org.mockito.mockito-core
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package: org.eclipse.reddeer.junit.test.internal.requirement,
org.eclipse.reddeer.junit.test.requirement.configuration.resources
Import-Package: org.mockito,
org.mockito.stubbing
Automatic-Module-Name: org.eclipse.reddeer.junit.test
12 changes: 7 additions & 5 deletions tests/org.eclipse.reddeer.junit.test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.6.1</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
Expand All @@ -40,11 +47,6 @@
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<dependencies combine.children="append">
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.mockito</artifactId>
<version>1.9.5</version>
</dependency>
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.hamcrest</artifactId>
Expand Down

0 comments on commit 1d2ab8b

Please sign in to comment.