Skip to content

Commit e903880

Browse files
committed
Update hamcrest to use 2.x packaging
See jenkinsci/jenkins-test-harness#161
1 parent f3e4213 commit e903880

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

core/pom.xml

+13-1
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,22 @@ THE SOFTWARE.
189189
<artifactId>jenkins-stapler-support</artifactId>
190190
<version>1.1</version>
191191
</dependency>
192+
<dependency>
193+
<groupId>org.hamcrest</groupId>
194+
<artifactId>hamcrest</artifactId>
195+
<version>${hamcrest.version}</version>
196+
<scope>test</scope>
197+
</dependency>
198+
<dependency>
199+
<groupId>org.hamcrest</groupId>
200+
<artifactId>hamcrest-core</artifactId>
201+
<version>${hamcrest.version}</version>
202+
<scope>test</scope>
203+
</dependency>
192204
<dependency>
193205
<groupId>org.hamcrest</groupId>
194206
<artifactId>hamcrest-library</artifactId>
195-
<version>1.3</version>
207+
<version>${hamcrest.version}</version>
196208
<scope>test</scope>
197209
</dependency>
198210

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ THE SOFTWARE.
9191
<project.patchManagement.url>https://api.github.com</project.patchManagement.url>
9292
<patch.tracker.serverId>jenkins-jira</patch.tracker.serverId>
9393

94+
<hamcrest.version>2.1</hamcrest.version>
9495
<matrix-auth.version>2.3</matrix-auth.version>
9596
<matrix-project.version>1.14</matrix-project.version>
9697
<sorcerer.version>0.11</sorcerer.version>

test-pom/pom.xml

+14-1
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,23 @@ THE SOFTWARE.
164164
</exclusion>
165165
</exclusions>
166166
</dependency>
167+
<dependency>
168+
<groupId>org.hamcrest</groupId>
169+
<artifactId>hamcrest</artifactId>
170+
<version>${hamcrest.version}</version>
171+
<scope>test</scope>
172+
</dependency>
167173
<dependency>
168174
<groupId>org.hamcrest</groupId>
169175
<artifactId>hamcrest-core</artifactId>
170-
<version>1.3</version>
176+
<version>${hamcrest.version}</version>
177+
<scope>test</scope>
178+
</dependency>
179+
<dependency>
180+
<groupId>org.hamcrest</groupId>
181+
<artifactId>hamcrest-library</artifactId>
182+
<version>${hamcrest.version}</version>
183+
<scope>test</scope>
171184
</dependency>
172185
<dependency>
173186
<!-- for testing JNLP launch. -->

0 commit comments

Comments
 (0)