Plugin doesn't add extra sources directories which are added using the
build-helper-maven-plugin
------------------------------------------------------------------------------------------------
Key: MNGECLIPSE-163
URL: http://jira.codehaus.org/browse/MNGECLIPSE-163
Project: Maven 2.x Extension for Eclipse
Issue Type: Bug
Affects Versions: 0.0.9
Reporter: Jimisola Laursen
Assigned To: Eugene Kuleshov
Source code is sometimes generated automatically during build. We place it
under ${project.build.directory}/generated-sources for Maven to use (see below).
Would be nice if the plugin found these additional source folder and added them
to the Eclipse project. An Update Source Folder might be necessary.
<!-- required since Maven only allows one source directory -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira