Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.9
-
None
-
None
Description
I've configured the build-helper-maven-plugin to add source folders both for main and test sources. The source folders from the "add-source" goal are added to the classpath while the source folders from the "add-test-sources" goal aren't. I'd expect that the folders from both goals are added.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${version.build-helper-maven-plugin}</version>
<executions>
<execution>
<id>main-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/xtend</source>
</sources>
</configuration>
</execution>
<execution>
<id>test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/xtend</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>