diff --git a/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinterTest.java b/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinterTest.java
index 6cbb11c27d..d32b6d0ef0 100644
--- a/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinterTest.java
+++ b/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/LexicalPreservingPrinterTest.java
@@ -22,7 +22,7 @@
package com.github.javaparser.printer.lexicalpreservation;
import static com.github.javaparser.StaticJavaParser.parseClassOrInterfaceType;
-import static com.github.javaparser.ast.Modifier.Keyword.PUBLIC;
+import static com.github.javaparser.ast.Modifier.DefaultKeyword.PUBLIC;
import static com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.NODE_TEXT_DATA;
import static com.github.javaparser.utils.TestUtils.assertEqualsStringIgnoringEol;
import static com.github.javaparser.utils.Utils.SYSTEM_EOL;
diff --git a/jmlparser-jml-tests/pom.xml b/jmlparser-jml-tests/pom.xml
index 0c8e89ea6a..86ab25ae08 100644
--- a/jmlparser-jml-tests/pom.xml
+++ b/jmlparser-jml-tests/pom.xml
@@ -52,45 +52,6 @@
-
- maven-resources-plugin
-
-
- copy-javaparser-core-classes
- test-compile
-
- copy-resources
-
-
- UTF-8
- ${basedir}/target/classes
-
-
- ../javaparser-core/target/classes
- false
-
-
-
-
-
- copy-javaparser-core-generated-sources
- test-compile
-
- copy-resources
-
-
- UTF-8
- ${basedir}/target/generated-sources/
-
-
- ../javaparser-core/target/generated-sources
- false
-
-
-
-
-
-
org.apache.maven.plugins
maven-deploy-plugin