Skip to content

Commit

Permalink
feat(jpms): add automatic-module-name
Browse files Browse the repository at this point in the history
- languagetool-server and languagetool-tools

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Sep 29, 2023
1 parent dd9f71c commit d92bec6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions languagetool-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,17 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.languagetool.server</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
13 changes: 12 additions & 1 deletion languagetool-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,18 @@
</execution>
</executions>
</plugin>
</plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.languagetool.tools</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Expand Down

0 comments on commit d92bec6

Please sign in to comment.