Fix packaging

This commit is contained in:
Johan Maasing 2025-04-12 19:59:44 +02:00
parent 19e2d46dd0
commit 1abc1a3164
8 changed files with 144 additions and 25 deletions

View file

@ -56,6 +56,19 @@
<target>24</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<classpathPrefix>libs/</classpathPrefix>
<addClasspath>true</addClasspath>
<mainClass>nu.zoom.dsl.cli.EndpointsCLI</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Plugin to compile the g4 files ahead of the java files
See https://github.com/antlr/antlr4/blob/master/antlr4-maven-plugin/src/site/apt/examples/simple.apt.vm
Except that the grammar does not need to contain the package declaration as stated in the documentation (I do not know why)