Fix pmd-lang-test project import

This commit is contained in:
Clément Fournier
2021-04-03 22:55:39 +02:00
parent d3308f516f
commit 7b87d69b85

View File

@ -27,6 +27,26 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-kotlin-sources</id>
<!-- This is needed because otherwise that directory is -->
<!-- added as a test resource by the <testResources> above -->
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/src/main/kotlin</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- The kotlin plugin has to run before the java plugin-->
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>