diff --git a/pom.xml b/pom.xml index 60db7952..e9765cf5 100644 --- a/pom.xml +++ b/pom.xml @@ -228,7 +228,7 @@ under the License. org.apache.maven.plugin-testing maven-plugin-testing-harness - 3.5.0 + 3.5.1 test diff --git a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java index cb330da3..b51f1859 100644 --- a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java +++ b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java @@ -96,6 +96,7 @@ public void setUp() throws Exception { Mockito.when(mojoExecution.getPlugin()).thenReturn(new Plugin()); } + @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "src/test/resources/plugin-configs/no-source-plugin-config.xml") @MojoParameter(name = "siteDirectory", value = "src/site") @Test