2016-12-04 03:34:30 +08:00
|
|
|
<!--
|
2016-12-06 01:19:01 +08:00
|
|
|
~ Copyright (c) 2012-2016 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">
|
2015-04-20 01:24:07 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-master</artifactId>
|
2016-11-06 07:48:36 +08:00
|
|
|
<version>4.6-SNAPSHOT</version>
|
2015-04-20 01:24:07 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<name>ANTLR 4 Tool</name>
|
2016-12-11 08:43:10 +08:00
|
|
|
<url>http://www.antlr.org</url>
|
2015-04-20 01:24:07 +08:00
|
|
|
<description>The ANTLR 4 grammar compiler.</description>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<version>4.0.8</version>
|
|
|
|
</dependency>
|
2015-07-15 05:29:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.abego.treelayout</groupId>
|
|
|
|
<artifactId>org.abego.treelayout.core</artifactId>
|
2016-12-11 08:07:35 +08:00
|
|
|
<version>1.0.3</version>
|
2015-07-15 05:29:41 +08:00
|
|
|
</dependency>
|
2016-10-05 01:58:43 +08:00
|
|
|
<dependency>
|
2016-11-21 11:50:54 +08:00
|
|
|
<groupId>javax.json</groupId>
|
|
|
|
<artifactId>javax.json-api</artifactId>
|
2016-12-11 08:07:35 +08:00
|
|
|
<version>1.0</version>
|
2016-10-05 01:58:43 +08:00
|
|
|
</dependency>
|
2015-04-20 01:24:07 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<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>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<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>
|
2016-12-11 09:31:03 +08:00
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
2016-12-11 10:09:37 +08:00
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>complete</shadedClassifierName>
|
2016-12-11 09:31:03 +08:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-11 10:09:37 +08:00
|
|
|
<!-- 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>
|
2016-12-12 06:56:11 +08:00
|
|
|
<Bundle-SymbolicName>org.antlr.antlr4-tool</Bundle-SymbolicName>
|
2016-12-11 10:09:37 +08:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
-->
|
2016-12-11 09:31:03 +08:00
|
|
|
<plugin> <!-- this just jars up tool stuff and sets main class -->
|
2015-06-24 02:01:28 +08:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2016-12-11 08:43:10 +08:00
|
|
|
<version>3.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
2016-12-11 09:31:03 +08:00
|
|
|
<mainClass>org.antlr.v4.Tool</mainClass>
|
2016-12-11 08:43:10 +08:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2015-06-27 03:41:47 +08:00
|
|
|
</plugin>
|
2015-04-20 01:24:07 +08:00
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2012-02-09 05:07:06 +08:00
|
|
|
</project>
|