You need to use build-helper-maven-plugin to do this: http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
Wayne On 10/27/07, שרון דגן <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to add an extra source directory to the compiler plugin: > > ... > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <includes> > <include>/tmp/generated-src/**/*.java</include> > </includes> > </configuration> > ... > > But it doesn't work, the sources are not compiled. > It seems that you cannot specify a directory that is outside of "<project > root>/src/main/java". > > Any idea? > > Thanks, > -S. >
