http://mojo.codehaus.org/build-helper-maven-plugin/xref/org/codehaus/mojo/buildhelper/AddSourceMojo.html#67
Don't limit yourself to just one directory... And then if this is not a Java based project, those directories might be not holding .java files... On 11 July 2011 12:04, Benson Margulies <bimargul...@gmail.com> wrote: >> >> Why is it doing this at all? > > Jörg, > > Honestly, I have no idea -- I just happened to spot it on the way by. > And when I thought some more, I realized that my question is > mis-stated. The issue here isn't classpath, it's more related to > yours: What's the configured java src directory, and is there anything > in it? > > > Isn't the existing of src/main/java enough? I >> can build empty jars (resp. jars with only resources), I may use pom and >> build an attached jar with Java sources, ... >> >> - Jörg >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org