2016-12-04 03:34:30 +08:00
|
|
|
<!--
|
2017-03-31 01:44:25 +08:00
|
|
|
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
|
2016-12-05 03:37:49 +08:00
|
|
|
~ Use of this file is governed by the BSD 3-clause license that
|
2016-12-04 03:34:30 +08:00
|
|
|
~ can be found in the LICENSE.txt file in the project root.
|
|
|
|
-->
|
|
|
|
|
2015-07-16 05:45:45 +08: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/maven-v4_0_0.xsd">
|
2016-12-11 10:26:19 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-master</artifactId>
|
2017-12-10 04:04:26 +08:00
|
|
|
<version>4.7.2-SNAPSHOT</version>
|
2016-12-11 10:26:19 +08:00
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<name>ANTLR 4 Runtime</name>
|
|
|
|
<description>The ANTLR 4 Runtime</description>
|
2012-02-09 05:07:06 +08:00
|
|
|
|
2016-12-11 10:26:19 +08:00
|
|
|
<properties>
|
|
|
|
<!-- Assumes dot is in the system path, or specified for the build. -->
|
|
|
|
<dot.path>dot</dot.path>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<plugins>
|
|
|
|
<plugin> <!-- create src jar -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2017-09-29 07:10:26 +08:00
|
|
|
<version>3.0.1</version>
|
2016-12-11 10:26:19 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-11 10:29:09 +08:00
|
|
|
<plugin> <!-- run dot on the images used by PredictionContext.java -->
|
2016-12-11 10:26:19 +08:00
|
|
|
<groupId>us.bryon</groupId>
|
|
|
|
<artifactId>graphviz-maven-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-12-14 00:17:13 +08:00
|
|
|
<phase>deploy</phase>
|
2016-12-11 10:26:19 +08:00
|
|
|
<goals>
|
|
|
|
<goal>dot</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<dot>${dot.path}</dot>
|
|
|
|
<destdir>${project.build.directory}/apidocs</destdir>
|
|
|
|
<output>svg</output>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin> <!-- create javadoc jar -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.10.4</version>
|
|
|
|
<configuration>
|
|
|
|
<javadocVersion>1.7</javadocVersion>
|
|
|
|
<failOnError>false</failOnError>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2016-12-13 09:32:12 +08:00
|
|
|
<goal>javadoc</goal>
|
2016-12-11 10:26:19 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>4.5.3</version> <!-- use older version to process XPathLexer.g4, avoiding cyclic build dependency -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>antlr</id>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<version>2.5.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>bundle-manifest</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2016-12-12 06:56:11 +08:00
|
|
|
<Bundle-SymbolicName>org.antlr.antlr4-runtime</Bundle-SymbolicName>
|
2016-12-11 10:26:19 +08:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
2016-12-12 01:51:21 +08:00
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
2016-12-11 10:26:19 +08:00
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2012-02-09 05:07:06 +08:00
|
|
|
</project>
|