try mvn -X compile, it will give you lots of hints too -D
On Sat, Apr 11, 2015 at 10:11 PM, Dan Tran <dant...@gmail.com> wrote: > looks like your pom reconfigures the default source ( ie > build-->sourceDirectory) ???? this may help > https://maven.apache.org/pom.html > > -D > > On Sat, Apr 11, 2015 at 10:06 PM, Lin Ma <lin...@gmail.com> wrote: > >> Hi Dan, >> >> I have this question since I tried it compiles fine with sources in >> src/java/com/foo/..., are they default location as well? I do not find >> sub-directory "main" in the middle of the path. >> >> regards, >> Lin >> >> On Sat, Apr 11, 2015 at 9:59 PM, Dan Tran <dant...@gmail.com> wrote: >> >> > default main source is at src/main/java >> > >> > to add more sources, use build-helper-maven-plugin >> > >> > -Dan >> > >> > On Sat, Apr 11, 2015 at 8:10 PM, Lin Ma <lin...@gmail.com> wrote: >> > >> > > Hi Maven masters, >> > > >> > > For maven-compiler-plugin, how to check what are the source >> > > files/directories it will scan for to compile? And add other source >> file >> > > directories? Thanks. >> > > >> > > thanks in advance, >> > > Lin >> > > >> > >> > >