I'm trying to build a jar file using 2 different source directories. So I'm using the maven-compiler-plugin. Here is my config:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<includes>
<include>**/*</include>
<include>src/main/java/**/*.java</include>
<include>../syncrpc/src/main/java/**/*.java</include>
</includes>
</configuration>
</plugin>
It builds alright but my jar file is empty (almost)... and my usual "target/classes" dir is empty. I suppose by default the compiler creates this directory and puts all the packages with the built classes. Can I do manually when I use the maven-compiler-plugin?
Thank you