Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions oak-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,10 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
4 changes: 4 additions & 0 deletions oak-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
</dependencies>

<profiles>
Expand Down
5 changes: 5 additions & 0 deletions oak-blob/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Expand Down
5 changes: 5 additions & 0 deletions oak-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,10 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
5 changes: 5 additions & 0 deletions oak-it-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
17 changes: 15 additions & 2 deletions oak-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,20 @@
<consoleOutput>true</consoleOutput>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${test.opts}</argLine>
<argLine>${test.opts} -javaagent:${org.mockito:mockito-core:jar}</argLine>
<trimStackTrace>false</trimStackTrace>
<systemPropertyVariables>
<!-- evaluated in oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/util/KnownIssuesIgnoreRule.java (JUnit4) and
Expand All @@ -287,7 +297,7 @@
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<argLine>${test.opts}</argLine>
<argLine>${test.opts} -javaagent:${org.mockito:mockito-core:jar}</argLine>
<trimStackTrace>false</trimStackTrace>
<systemPropertyVariables>
<!-- evaluated in oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/util/KnownIssuesIgnoreRule.java (JUnit4) and
Expand Down Expand Up @@ -359,6 +369,9 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions oak-segment-tar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>properties</id>
<goals>
<goal>properties</goal>
</goals>
</execution>
<execution>
<phase>pre-integration-test</phase>
<goals><goal>copy</goal></goals>
Expand Down
5 changes: 5 additions & 0 deletions oak-upgrade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<!-- test dependency of classic Jackrabbit -->
<dependency>
Expand Down
Loading