diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml
index 080611280..3fb8b1469 100644
--- a/openjpa-persistence-jdbc/pom.xml
+++ b/openjpa-persistence-jdbc/pom.xml
@@ -374,7 +374,32 @@
-
+
+
+
+
+
+
+ jdk5-compiler
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+
+ **/TestCanonicalMetamodelGeneration.java
+
+
+
+
+
+
+ 1.5
+
+
+
diff --git a/openjpa-persistence/pom.xml b/openjpa-persistence/pom.xml
index 247e9fbb9..3907aa81b 100644
--- a/openjpa-persistence/pom.xml
+++ b/openjpa-persistence/pom.xml
@@ -60,10 +60,8 @@
**/AnnotationProcessor6.java
+ **/SourceAnnotationHandler.java
-
- **/TestCanonicalMetamodelGeneration.java
-