66 lines
2.3 KiB
XML
66 lines
2.3 KiB
XML
|
<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/maven-v4_0_0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<artifactId>antlr</artifactId>
|
||
|
<name>antlr</name>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>parent-modules</artifactId>
|
||
|
<version>1.0.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.antlr</groupId>
|
||
|
<artifactId>antlr4-maven-plugin</artifactId>
|
||
|
<version>${antlr.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>antlr4</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||
|
<version>${mojo.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>generate-sources</phase>
|
||
|
<goals>
|
||
|
<goal>add-source</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<sources>
|
||
|
<source>${basedir}/target/generated-sources/antlr4</source>
|
||
|
</sources>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.antlr</groupId>
|
||
|
<artifactId>antlr4-runtime</artifactId>
|
||
|
<version>${antlr.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>${junit.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<properties>
|
||
|
<java.version>1.8</java.version>
|
||
|
<antlr.version>4.7.1</antlr.version>
|
||
|
<junit.version>4.12</junit.version>
|
||
|
<mojo.version>3.0.0</mojo.version>
|
||
|
</properties>
|
||
|
</project>
|