Hello,

I'll preface this by saying that I believe that I am running into issue:
http://jira.codehaus.org/browse/MCOMPILER-36.  The background is that I have
a multimodule project where module B.jar has a compile-time dependency on
module A.jar.  However, module A.jar includes both the Java source  and the
compiled version of the classes that constitute it.  To complicate matters
further, I am required to compile against j2sdk1.4.2 and I am using version
2.0.1 of the maven-compiler-plugin.

An as discussed in http://jira.codehaus.org/browse/MCOMPILER-36, I do see an
error of the form: "class X is public, should be declared in a file named
X.java".  The troubling this is that I see it sporadically, every 5 builds
or so would be a reasonable guess.  I would have expected to always see this
error to never see it.

Has anyone else run into this problem?  Can anyone provide more background?
Has anyone gained confidence in the work around of dropping back to
maven-compiler-plugin V2.0?

Any assistance would be greatly appreciated.

Thanks in advance,

--
Miguel

Reply via email to