2017-03-31 01:44:25 +08:00
|
|
|
<!--
|
|
|
|
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
|
|
|
|
~ Use of this file is governed by the BSD 3-clause license that
|
|
|
|
~ can be found in the LICENSE.txt file in the project root.
|
|
|
|
-->
|
2016-12-04 03:34:30 +08:00
|
|
|
|
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">
|
2017-03-10 09:36:25 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-master</artifactId>
|
2021-03-12 06:18:19 +08:00
|
|
|
<version>4.9.3-SNAPSHOT</version>
|
2017-03-10 09:36:25 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<name>ANTLR 4 Tool</name>
|
|
|
|
<url>http://www.antlr.org</url>
|
|
|
|
<description>The ANTLR 4 grammar compiler.</description>
|
2016-12-15 04:26:32 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr-runtime</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
2020-01-17 04:05:03 +08:00
|
|
|
<version>4.3</version>
|
2016-12-15 04:26:32 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.abego.treelayout</groupId>
|
|
|
|
<artifactId>org.abego.treelayout.core</artifactId>
|
|
|
|
<version>1.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
</dependency>
|
2017-03-10 09:36:25 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm.icu</groupId>
|
|
|
|
<artifactId>icu4j</artifactId>
|
2018-05-23 21:01:07 +08:00
|
|
|
<version>61.1</version>
|
2017-03-10 09:36:25 +08:00
|
|
|
</dependency>
|
2016-12-15 04:26:32 +08:00
|
|
|
</dependencies>
|
2017-03-10 09:36:25 +08:00
|
|
|
<build>
|
2016-12-11 10:21:10 +08:00
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>test</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
<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:21:10 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</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>
|
2016-12-14 00:17:13 +08:00
|
|
|
<phase>deploy</phase>
|
2016-12-11 10:21:10 +08:00
|
|
|
<goals>
|
2016-12-13 09:32:12 +08:00
|
|
|
<goal>javadoc</goal>
|
2016-12-11 10:21:10 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-03-10 09:36:25 +08:00
|
|
|
<plugin> <!-- include code-generated sources -->
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2017-09-29 07:10:26 +08:00
|
|
|
<version>3.0.0</version>
|
2017-03-10 09:36:25 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.build.directory}/generated-sources/antlr4-tool-codegen</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-11 10:21:10 +08:00
|
|
|
<plugin> <!-- this makes a fat jar with all dependencies -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-03-10 09:36:25 +08:00
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
2016-12-11 10:09:37 +08:00
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
2017-03-10 09:36:25 +08:00
|
|
|
<shadedClassifierName>complete</shadedClassifierName>
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com.ibm.icu:*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- can't get this to add bundle items <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> <Bundle-SymbolicName>org.antlr.antlr4-tool</Bundle-SymbolicName> </instructions> </configuration> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> -->
|
|
|
|
<plugin> <!-- this just jars up tool stuff and sets main class -->
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
<mainClass>org.antlr.v4.Tool</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr3-maven-plugin</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.webguys</groupId>
|
|
|
|
<artifactId>string-template-maven-plugin</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<!-- this nonsense is for some reason needed to make this plugin work with maven 3 -->
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.twdata.maven</groupId>
|
|
|
|
<artifactId>mojo-executor</artifactId>
|
|
|
|
<version>2.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<templates>
|
|
|
|
<template>
|
|
|
|
<directory>${basedir}/resources/org/antlr/v4/tool/templates</directory>
|
|
|
|
<name>unicodedata</name>
|
|
|
|
<target>${basedir}/target/generated-sources/tool/src/org/antlr/v4/unicode/UnicodeData.java</target>
|
|
|
|
<controller>
|
|
|
|
<className>org.antlr.v4.unicode.UnicodeDataTemplateController</className>
|
|
|
|
<sourceVersion>1.7</sourceVersion>
|
|
|
|
<targetVersion>1.7</targetVersion>
|
|
|
|
<method>getProperties</method>
|
|
|
|
</controller>
|
|
|
|
</template>
|
|
|
|
</templates>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>render</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2012-02-09 05:07:06 +08:00
|
|
|
</project>
|