diff --git a/plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationHarness.java b/plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationHarness.java index a2cbd21805..476865b7fb 100644 --- a/plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationHarness.java +++ b/plugin-maven/src/test/java/com/diffplug/spotless/maven/MavenIntegrationHarness.java @@ -115,7 +115,7 @@ protected void writePomWithKotlinSteps(String... steps) throws IOException { } protected void writePomWithCppSteps(String... steps) throws IOException { - writePom(groupWithSteps("cpp", including("**/*.c++")), steps); + writePom(groupWithSteps("cpp"), steps); } protected void writePomWithTypescriptSteps(String... steps) throws IOException { diff --git a/plugin-maven/src/test/java/com/diffplug/spotless/maven/generic/LicenseHeaderTest.java b/plugin-maven/src/test/java/com/diffplug/spotless/maven/generic/LicenseHeaderTest.java index 627b3e994b..ffdced0c98 100644 --- a/plugin-maven/src/test/java/com/diffplug/spotless/maven/generic/LicenseHeaderTest.java +++ b/plugin-maven/src/test/java/com/diffplug/spotless/maven/generic/LicenseHeaderTest.java @@ -37,6 +37,7 @@ public void fromFileJava() throws Exception { public void fromContentCpp() throws Exception { String cppLicense = "//my license"; writePomWithCppSteps( + "src/**", "", " ", cppLicense,