maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "שרון דגן" <sharon.da...@gmail.com>
Subject extra source dirs in compiler plugin
Date Sat, 27 Oct 2007 20:27:58 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message