2025-03-24 21:44:21 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2025-04-10 21:35:49 +02:00
|
|
|
<!--
|
|
|
|
// Copyright 2025 "Johan Maasing" <johan@zoom.nu>
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
-->
|
2025-03-24 21:44:21 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>nu.zoom.dsl</groupId>
|
|
|
|
<artifactId>endgen</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>parser</artifactId>
|
2025-03-29 15:13:35 +01:00
|
|
|
|
2025-03-24 21:44:21 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>4.13.0</version>
|
|
|
|
</dependency>
|
2025-03-26 21:35:59 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>info.picocli</groupId>
|
|
|
|
<artifactId>picocli</artifactId>
|
|
|
|
<version>4.7.6</version>
|
|
|
|
</dependency>
|
2025-03-30 21:01:42 +02:00
|
|
|
<dependency>
|
2025-04-01 20:38:42 +02:00
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
<version>2.3.34</version>
|
2025-03-30 21:01:42 +02:00
|
|
|
</dependency>
|
2025-03-24 21:44:21 +01:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- This plugin sets up maven to use Java 7 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.13.0</version>
|
|
|
|
<configuration>
|
|
|
|
<source>24</source>
|
|
|
|
<target>24</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2025-04-12 19:59:44 +02:00
|
|
|
<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>
|
2025-03-24 21:44:21 +01:00
|
|
|
<!-- 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)
|
|
|
|
To use this plugin, type:
|
|
|
|
mvn antlr4:antlr4
|
|
|
|
In any case, Maven will invoke this plugin before the Java source is compiled
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>4.13.1</version>
|
2025-03-26 21:35:59 +01:00
|
|
|
<configuration>
|
|
|
|
<visitor>true</visitor>
|
|
|
|
</configuration>
|
2025-03-24 21:44:21 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|