Check out build-helper plugin Here is how I use it
<!--Getting the generated source dir added --> <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>${basedir}/target/generated-sources/java</source> </sources> </configuration> </execution> </executions> </plugin> --- Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > Is possible to configure pom to have more than one > source folder? How? > And if so, does the eclipse plugin support this? > > I am managing a pom for a project with external svn > java sources that > are, say, under /vendor/projectX/src > If I specify the external source folder as a > resource in pom, eclipse > plugins put that folder in the build path but > excludes *.java so it is > of no use and is a workaround. > > Thanks. > > -- > Daniele Dellafiore > http://blog.ildella.net/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]