build: add Automatic-Module-Name to zai-sdk for Java 9+ module support (#82)
This commit is contained in:
parent
44c3ba4eeb
commit
07f3e38fda
2 changed files with 15 additions and 0 deletions
14
core/pom.xml
14
core/pom.xml
|
|
@ -188,6 +188,20 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.22.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${maven-jar-plugin.version}</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Implementation-Title>${project.artifactId}</Implementation-Title>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
<Automatic-Module-Name>ai.z.openapi.sdk</Automatic-Module-Name>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
|||
1
pom.xml
1
pom.xml
|
|
@ -112,6 +112,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${maven-jar-plugin.version}</version>
|
||||
<!-- Changes on this plugin should sync to core/pom.xml -->
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
|
|
|
|||
Loading…
Reference in a new issue