File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,14 @@ javadoc {
141141 options. addBooleanOption(" Xdoclint:none" , true )
142142}
143143
144+ jar {
145+ manifest {
146+ attributes (
147+ " Automatic-Module-Name" : " net.sf.jsqlparser"
148+ )
149+ }
150+ }
151+
144152tasks. register(' xmldoc' , Javadoc ) {
145153 def outFile = reporting. file(
146154 version. endsWith(" -SNAPSHOT" )
Original file line number Diff line number Diff line change 328328 </execution >
329329 </executions >
330330 </plugin >
331+ <plugin >
332+ <groupId >org.apache.maven.plugins</groupId >
333+ <artifactId >maven-jar-plugin</artifactId >
334+ <configuration >
335+ <archive >
336+ <manifestEntries >
337+ <Automatic-Module-Name >net.sf.jsqlparser</Automatic-Module-Name >
338+ </manifestEntries >
339+ </archive >
340+ </configuration >
341+ </plugin >
331342 <plugin >
332343 <artifactId >maven-site-plugin</artifactId >
333344 <version >3.12.1</version >
You can’t perform that action at this time.
0 commit comments