| 1 |
<!-- |
| 2 |
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. |
| 3 |
~ Use of this file is governed by the BSD 3-clause license that |
| 4 |
~ can be found in the LICENSE.txt file in the project root. |
| 5 |
--> |
| 6 |
|
| 7 |
<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"> |
| 8 |
<modelVersion>4.0.0</modelVersion> |
| 9 |
<parent> |
| 10 |
<groupId>org.antlr</groupId> |
| 11 |
<artifactId>antlr4-master</artifactId> |
| 12 |
<version>4.9.2</version> |
| 13 |
<relativePath>../../pom.xml</relativePath> |
| 14 |
</parent> |
| 15 |
<artifactId>antlr4-runtime</artifactId> |
| 16 |
<name>ANTLR 4 Runtime</name> |
| 17 |
<description>The ANTLR 4 Runtime</description> |
| 18 |
|
| 19 |
<properties> |
| 20 |
<!-- Assumes dot is in the system path, or specified for the build. --> |
| 21 |
<dot.path>dot</dot.path> |
| 22 |
</properties> |
| 23 |
|
| 24 |
<build> |
| 25 |
<sourceDirectory>src</sourceDirectory> |
| 26 |
<plugins> |
| 27 |
<plugin> <!-- create src jar --> |
| 28 |
<groupId>org.apache.maven.plugins</groupId> |
| 29 |
<artifactId>maven-source-plugin</artifactId> |
| 30 |
<version>3.0.1</version> |
| 31 |
<executions> |
| 32 |
<execution> |
| 33 |
<goals> |
| 34 |
<goal>jar</goal> |
| 35 |
</goals> |
| 36 |
</execution> |
| 37 |
</executions> |
| 38 |
</plugin> |
| 39 |
<plugin> <!-- run dot on the images used by PredictionContext.java --> |
| 40 |
<groupId>us.bryon</groupId> |
| 41 |
<artifactId>graphviz-maven-plugin</artifactId> |
| 42 |
<version>1.0</version> |
| 43 |
<executions> |
| 44 |
<execution> |
| 45 |
<phase>deploy</phase> |
| 46 |
<goals> |
| 47 |
<goal>dot</goal> |
| 48 |
</goals> |
| 49 |
<configuration> |
| 50 |
<dot>${dot.path}</dot> |
| 51 |
<destdir>${project.build.directory}/apidocs</destdir> |
| 52 |
<output>svg</output> |
| 53 |
</configuration> |
| 54 |
</execution> |
| 55 |
</executions> |
| 56 |
</plugin> |
| 57 |
<plugin> <!-- create javadoc jar --> |
| 58 |
<groupId>org.apache.maven.plugins</groupId> |
| 59 |
<artifactId>maven-javadoc-plugin</artifactId> |
| 60 |
<version>2.10.4</version> |
| 61 |
<configuration> |
| 62 |
<javadocVersion>1.7</javadocVersion> |
| 63 |
<failOnError>false</failOnError> |
| 64 |
</configuration> |
| 65 |
<executions> |
| 66 |
<execution> |
| 67 |
<goals> |
| 68 |
<goal>javadoc</goal> |
| 69 |
</goals> |
| 70 |
</execution> |
| 71 |
</executions> |
| 72 |
</plugin> |
| 73 |
<plugin> |
| 74 |
<groupId>org.antlr</groupId> |
| 75 |
<artifactId>antlr4-maven-plugin</artifactId> |
| 76 |
<version>4.5.3</version> <!-- use older version to process XPathLexer.g4, avoiding cyclic build dependency --> |
| 77 |
<executions> |
| 78 |
<execution> |
| 79 |
<id>antlr</id> |
| 80 |
<configuration> |
| 81 |
<sourceDirectory>src</sourceDirectory> |
| 82 |
</configuration> |
| 83 |
<goals> |
| 84 |
<goal>antlr4</goal> |
| 85 |
</goals> |
| 86 |
</execution> |
| 87 |
</executions> |
| 88 |
</plugin> |
| 89 |
<plugin> |
| 90 |
<groupId>org.apache.felix</groupId> |
| 91 |
<artifactId>maven-bundle-plugin</artifactId> |
| 92 |
<version>2.5.4</version> |
| 93 |
<executions> |
| 94 |
<execution> |
| 95 |
<id>bundle-manifest</id> |
| 96 |
<phase>process-classes</phase> |
| 97 |
<configuration> |
| 98 |
<instructions> |
| 99 |
<Automatic-Module-Name>org.antlr.antlr4.runtime</Automatic-Module-Name> |
| 100 |
<Bundle-SymbolicName>org.antlr.antlr4-runtime</Bundle-SymbolicName> |
| 101 |
</instructions> |
| 102 |
</configuration> |
| 103 |
<goals> |
| 104 |
<goal>manifest</goal> |
| 105 |
</goals> |
| 106 |
</execution> |
| 107 |
</executions> |
| 108 |
</plugin> |
| 109 |
<plugin> |
| 110 |
<artifactId>maven-jar-plugin</artifactId> |
| 111 |
<version>3.0.0</version> |
| 112 |
<configuration> |
| 113 |
<archive> |
| 114 |
<manifest> |
| 115 |
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 116 |
</manifest> |
| 117 |
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 118 |
</archive> |
| 119 |
</configuration> |
| 120 |
</plugin> |
| 121 |
</plugins> |
| 122 |
</build> |
| 123 |
</project> |