diff --git a/build.gradle b/build.gradle
index 87384835f..771048f7c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -141,6 +141,14 @@ javadoc {
options.addBooleanOption("Xdoclint:none", true)
}
+jar {
+ manifest {
+ attributes (
+ "Automatic-Module-Name": "net.sf.jsqlparser"
+ )
+ }
+}
+
tasks.register('xmldoc', Javadoc) {
def outFile = reporting.file(
version.endsWith("-SNAPSHOT")
diff --git a/pom.xml b/pom.xml
index 166924e06..f0b2c9d8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -328,6 +328,17 @@
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ net.sf.jsqlparser
+
+
+
+
maven-site-plugin
3.12.1