antlr/tool/pom.xml

127 lines
4.6 KiB
XML
Raw Normal View History

2012-02-09 05:07:06 +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">
<modelVersion>4.0.0</modelVersion>
2012-11-24 03:28:52 +08:00
<parent>
<groupId>org.antlr</groupId>
<artifactId>antlr4-master</artifactId>
2013-07-03 08:11:04 +08:00
<version>4.1.1-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>
<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>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.5</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>
<version>4.0.7</version>
2012-12-01 02:28:58 +08:00
<scope>compile</scope>
2012-02-09 05:07:06 +08:00
</dependency>
</dependencies>
<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<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>
</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>
<testResources>
<testResource>
<directory>test</directory>
</testResource>
</testResources>
2012-02-09 05:07:06 +08:00
<plugins>
2012-02-09 05:07:06 +08:00
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>3.5</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>