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 {
141
141
options. addBooleanOption(" Xdoclint:none" , true )
142
142
}
143
143
144
+ jar {
145
+ manifest {
146
+ attributes (
147
+ " Automatic-Module-Name" : " net.sf.jsqlparser"
148
+ )
149
+ }
150
+ }
151
+
144
152
tasks. register(' xmldoc' , Javadoc ) {
145
153
def outFile = reporting. file(
146
154
version. endsWith(" -SNAPSHOT" )
Original file line number Diff line number Diff line change 328
328
</execution >
329
329
</executions >
330
330
</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 >
331
342
<plugin >
332
343
<artifactId >maven-site-plugin</artifactId >
333
344
<version >3.12.1</version >
You can’t perform that action at this time.
0 commit comments