Andreas Dolk created MECLIPSE-744:
-------------------------------------
Summary: Doesn't add test source folders defined on
build-helper-plugin to eclipse build path
Key: MECLIPSE-744
URL: https://jira.codehaus.org/browse/MECLIPSE-744
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Components: Core : Dependencies resolution and build path (.classpath)
Affects Versions: 2.9
Reporter: Andreas Dolk
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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira