2012-02-09 05:07:06 +08:00
|
|
|
|
2014-02-04 10:09:14 +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/xsd/maven-4.0.0.xsd">
|
2012-02-09 05:07:06 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2012-11-24 03:28:52 +08:00
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
2012-12-05 02:57:56 +08:00
|
|
|
<artifactId>antlr4-master</artifactId>
|
2014-03-25 23:55:39 +08:00
|
|
|
<version>4.2.2-SNAPSHOT</version>
|
2012-11-24 03:28:52 +08:00
|
|
|
</parent>
|
|
|
|
|
2012-02-09 05:07:06 +08:00
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
|
2012-11-24 03:37:36 +08:00
|
|
|
<name>ANTLR 4 Tool</name>
|
2012-11-28 13:34:36 +08:00
|
|
|
<description>The ANTLR 4 grammar compiler.</description>
|
2012-02-09 05:07:06 +08:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2013-01-05 20:08:12 +08:00
|
|
|
<version>4.10</version>
|
2012-02-09 05:07:06 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2012-12-01 02:28:58 +08:00
|
|
|
<scope>compile</scope>
|
2012-02-09 05:07:06 +08:00
|
|
|
</dependency>
|
2014-02-05 07:18:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-02-09 05:07:06 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr-runtime</artifactId>
|
2014-03-25 23:48:00 +08:00
|
|
|
<version>3.5.2</version>
|
2012-12-01 02:28:58 +08:00
|
|
|
<scope>compile</scope>
|
2012-02-09 05:07:06 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
2014-03-25 23:48:00 +08:00
|
|
|
<version>4.0.8</version>
|
2012-12-01 02:28:58 +08:00
|
|
|
<scope>compile</scope>
|
2012-02-09 05:07:06 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2013-01-05 19:23:29 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>sonatype-oss-release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-03-25 23:43:59 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includeDependencySources>true</includeDependencySources>
|
|
|
|
<dependencySourceIncludes>
|
|
|
|
<dependencySourceInclude>org.antlr:antlr4-*</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2013-01-05 19:23:29 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2014-03-25 09:43:55 +08:00
|
|
|
<version>2.2</version>
|
2013-01-05 19:23:29 +08:00
|
|
|
<inherited>false</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<createSourcesJar>true</createSourcesJar>
|
|
|
|
<shadedClassifierName>complete</shadedClassifierName>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>org.antlr:antlr4-runtime</artifact>
|
|
|
|
<includes>
|
|
|
|
<include>org/antlr/v4/runtime/**</include>
|
|
|
|
</includes>
|
|
|
|
</filter>
|
2014-02-05 07:18:48 +08:00
|
|
|
<filter>
|
|
|
|
<artifact>org.antlr:antlr4-annotations</artifact>
|
|
|
|
<includes>
|
|
|
|
<include>org/antlr/v4/runtime/**</include>
|
|
|
|
</includes>
|
|
|
|
</filter>
|
2013-01-05 19:23:29 +08:00
|
|
|
</filters>
|
|
|
|
<transformers>
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<mainClass>org.antlr.v4.Tool</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2012-02-09 05:07:06 +08:00
|
|
|
<build>
|
|
|
|
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<testSourceDirectory>test</testSourceDirectory>
|
2012-11-24 01:47:40 +08:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>test</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2012-02-09 05:07:06 +08:00
|
|
|
|
|
|
|
<plugins>
|
2012-11-29 01:43:09 +08:00
|
|
|
|
2012-02-09 05:07:06 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr3-maven-plugin</artifactId>
|
2014-03-25 23:48:00 +08:00
|
|
|
<version>3.5.2</version>
|
2012-02-09 05:07:06 +08:00
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|