json-fields-grammar
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.zalando.guild.api</groupId>
<artifactId>json-fields-grammar</artifactId>
<version>0.5.4</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>json-fields</artifactId>
<groupId>org.zalando.guild.api</groupId>
<version>0.5.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<properties>
<antlr.output.dir>${project.build.directory}/generated-test-sources/antlr</antlr.output.dir>
</properties>
<artifactId>json-fields-grammar</artifactId>
<build>
<resources>
<resource>
<directory>src/main/antlr4</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
<phase>generate-test-sources</phase>
<configuration>
<outputDirectory>${antlr.output.dir}/org/zalando/guild/api/json/fields/grammar/parser</outputDirectory>
<visitor>true</visitor>
<listener>false</listener>
<arguments>
<argument>-package</argument>
<argument>org.zalando.guild.api.json.fields.grammar.parser</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>${antlr.output.dir}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-test-sources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<!-- remove antlr dir from compile sources -->
<source>project.compileSourceRoots.remove(project.compileSourceRoots.size()-1)</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.zalando.*</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4</artifactId>
<version>${antlr4.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>