to file a bug against OpenJPA for that one.
Thanks for your help anyway,
Matthew
--
View this message in context:
http://maven-users.828.n2.nabble.com/Freaking-out-javac-works-maven-compiler-plugin-does-not-tp5016302p5032882.html
Sent from the maven users mailing list archive at Nabble.com
...and it's filed:
https://issues.apache.org/jira/browse/OPENJPA-1659
-matthew
--
View this message in context:
http://maven-users.828.n2.nabble.com/Freaking-out-javac-works-maven-compiler-plugin-does-not-tp5016302p5033026.html
Sent from the maven users mailing list archive at Nabble.com
Are you absolutely positively sure your command-line javac is of the
same minor version as what Maven uses? 1.5 doesn't implement generics
captures so you'd get these kinds of problems if you tried to compile
the same with 1.6 - source is not version compatible even if binary
is.
Kalle
On Thu,
I have a class that compiles fine using javac, but does not compile
when building with the maven-compiler-plugin.
Here's the class source. Basic java.
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import
Any configuration inherited from the parent? Try removing the parent and see
if that changes things.
You could also execute
mvn help:effective-pom
and verify the effective configuration for the compiler plugin.
Also, executing
mvn compile -X
will get you loads of debug info.
Could it be that the