maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <baerr...@gmail.com>
Subject Re: A module using different compiler cannot find its compiler when compiling thru. the package project
Date Wed, 10 Aug 2011 00:32:19 GMT
On Wed, Aug 10, 2011 at 12:24 AM, Wayne Fay <waynefay@gmail.com> wrote:
>> All the modules except p2 use the default complier. p2 uses eclipse
>> compiler. I find if I just compile p2, it works well.  When I try to compile
>>
>> [INFO] No such compiler 'eclipse'.
>
> What version of Maven are you using? Most likely this is a
> manifestation of the "first declaration of a plugin wins" problem in
> Maven 2. Give this a try in Maven3 and let us know if it works or
> still has problems.

Also, run
  mvn -X install
in both scenarios and compare the "large" quantity of information.

You want to focus on the configuration settings for compiler:compile.

mvn help:effective-pom
may also be useful.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message