You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/11/05 00:18:18 UTC
[commons-jcs] branch master updated: Fix missing hamcrest class
errors
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
The following commit(s) were added to refs/heads/master by this push:
new 94817e0 Fix missing hamcrest class errors
94817e0 is described below
commit 94817e0fdf0744af28c6aa8976a698651cfeb223
Author: Sebb <se...@apache.org>
AuthorDate: Thu Nov 5 00:18:09 2020 +0000
Fix missing hamcrest class errors
---
commons-jcs-jcache-extras/pom.xml | 7 +++++++
commons-jcs-jcache-openjpa/pom.xml | 6 ++++++
commons-jcs-jcache/pom.xml | 6 ++++++
commons-jcs-tck-tests/pom.xml | 1 +
pom.xml | 3 ++-
5 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/commons-jcs-jcache-extras/pom.xml b/commons-jcs-jcache-extras/pom.xml
index 255c938..c3951ef 100644
--- a/commons-jcs-jcache-extras/pom.xml
+++ b/commons-jcs-jcache-extras/pom.xml
@@ -67,6 +67,13 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ <version>${hamcrest.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.openwebbeans</groupId>
diff --git a/commons-jcs-jcache-openjpa/pom.xml b/commons-jcs-jcache-openjpa/pom.xml
index fc92e06..f5f764b 100644
--- a/commons-jcs-jcache-openjpa/pom.xml
+++ b/commons-jcs-jcache-openjpa/pom.xml
@@ -60,6 +60,12 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ <version>${hamcrest.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.11.1.1</version>
diff --git a/commons-jcs-jcache/pom.xml b/commons-jcs-jcache/pom.xml
index 60c0fe0..fdd6839 100644
--- a/commons-jcs-jcache/pom.xml
+++ b/commons-jcs-jcache/pom.xml
@@ -77,6 +77,12 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ <version>${hamcrest.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/commons-jcs-tck-tests/pom.xml b/commons-jcs-tck-tests/pom.xml
index 899aa35..dad9d8a 100644
--- a/commons-jcs-tck-tests/pom.xml
+++ b/commons-jcs-tck-tests/pom.xml
@@ -81,6 +81,7 @@
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
+ <version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
diff --git a/pom.xml b/pom.xml
index 66183bf..074b289 100644
--- a/pom.xml
+++ b/pom.xml
@@ -341,7 +341,7 @@
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
- <version>2.2</version>
+ <version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
@@ -552,6 +552,7 @@
<test.type>Unit</test.type>
<doclint>none</doclint>
+ <hamcrest.version>2.2</hamcrest.version>
</properties>
</project>