maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <russell.g...@oracle.com>
Subject Re: compiler plugin excludes that don't exclude
Date Tue, 28 Aug 2012 22:48:24 GMT
Hi Benson, 

Javac compiles not only the files you specify, but also any classes that they reference. The
only way to keep the dependencies from compiling is to remove them from the directory (and
get a compile error) or modify the source code so that they are no longer referenced.

On Aug 28, 2012, at 6:23 PM, Benson Margulies wrote:

> Using the current compiler plugin, I've got a case where I specify an
> exclude, and the -X log does not show a particular file, but javac
> tries to compile it anyway. Anybody have any ideas?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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


Mime
View raw message