Thanks Dan,

Followed your advice tried mvn -X compile and output is very verbose, which
items should I look at?

I refer the document for compiler plug-in as well (
http://maven.apache.org/plugins/maven-javadoc-plugin/plugin-info.html), and
not found it is mentioned where is source directory to search for for
compiler plug-in? Thanks.

regards,
Lin

On Sat, Apr 11, 2015 at 10:12 PM, Dan Tran <dant...@gmail.com> wrote:

> 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
> >> > >
> >> >
> >>
> >
> >
>

Reply via email to