Skip to content

Commit 3c9012e

Browse files
authored
replace deprecated method (#3)
* replace deprecated method * direct dependency on hamcrest
1 parent 86793e6 commit 3c9012e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ under the License.
105105
<version>4.13</version>
106106
<scope>test</scope>
107107
</dependency>
108+
<dependency>
109+
<groupId>org.hamcrest</groupId>
110+
<artifactId>hamcrest-core</artifactId>
111+
<version>1.3</version>
112+
<scope>test</scope>
113+
</dependency>
108114
<dependency>
109115
<groupId>org.xmlunit</groupId>
110116
<artifactId>xmlunit-core</artifactId>

src/test/java/org/apache/maven/plugins/antrun/AntrunXmlPlexusConfigurationWriterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.junit.rules.TemporaryFolder;
3131
import org.xmlunit.builder.Input;
3232

33-
import static org.junit.Assert.assertThat;
33+
import static org.hamcrest.MatcherAssert.assertThat;
3434
import static org.xmlunit.matchers.CompareMatcher.isIdenticalTo;
3535

3636
/**

0 commit comments

Comments
 (0)