diff --git a/core/src/main/java9/module-info.java b/core/src/main/java9/module-info.java new file mode 100644 index 0000000..fabb12a --- /dev/null +++ b/core/src/main/java9/module-info.java @@ -0,0 +1,3 @@ +module owasp.encoder { + exports org.owasp.encoder; +} diff --git a/esapi/src/main/java9/module-info.java b/esapi/src/main/java9/module-info.java new file mode 100644 index 0000000..e5e1e41 --- /dev/null +++ b/esapi/src/main/java9/module-info.java @@ -0,0 +1,5 @@ +module owasp.encoder.esapi { + requires owasp.encoder; + + exports org.owasp.encoder.esapi; +} \ No newline at end of file diff --git a/jakarta/src/main/java9/module-info.java b/jakarta/src/main/java9/module-info.java new file mode 100644 index 0000000..6f079b3 --- /dev/null +++ b/jakarta/src/main/java9/module-info.java @@ -0,0 +1,5 @@ +module owasp.encoder.jakarta { + requires owasp.encoder; + + exports org.owasp.encoder.tag; +} \ No newline at end of file diff --git a/jsp/src/main/java9/module-info.java b/jsp/src/main/java9/module-info.java new file mode 100644 index 0000000..8a1154a --- /dev/null +++ b/jsp/src/main/java9/module-info.java @@ -0,0 +1,5 @@ +module owasp.encoder.jsp { + requires owasp.encoder; + + exports org.owasp.encoder.tag; +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2693301..6aaeff2 100755 --- a/pom.xml +++ b/pom.xml @@ -167,7 +167,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.2 + 3.3.0 org.apache.maven.plugins @@ -241,7 +241,7 @@ org.apache.felix maven-bundle-plugin - 3.3.0 + 3.5.1 org.codehaus.mojo @@ -265,9 +265,42 @@ org.apache.maven.plugins maven-compiler-plugin + + + compile-java-8 + + compile + + + 1.8 + 1.8 + + + + compile-java-9 + compile + + compile + + + 9 + + ${project.basedir}/src/main/java9 + + true + + + + + + org.apache.maven.plugins + maven-jar-plugin - 1.6 - 1.6 + + + true + +