Hi,

I would like to know how configure m2e to deal with alternative source folders and add them to build path.

I've setup the plugin below, but every time that I update the project it removes the source from the build path.

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/src-gen</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

thanks,

Cristiano
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to