2015-06-20 03:23:05 +08:00
|
|
|
<!--
|
2015-01-13 08:50:53 +08:00
|
|
|
|
2015-06-20 03:23:05 +08:00
|
|
|
[The "BSD license"]
|
|
|
|
ANTLR - Copyright (c) Terence Parr, Sam Harwell
|
|
|
|
Maven Plugin - Copyright (c) Jim Idle
|
|
|
|
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions
|
|
|
|
are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
3. The name of the author may not be used to endorse or promote products
|
|
|
|
derived from this software without specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
-->
|
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-maven-plugin</artifactId>
|
|
|
|
<packaging>maven-plugin</packaging>
|
|
|
|
<name>ANTLR 4 Maven plugin</name>
|
|
|
|
<description>Maven plugin for ANTLR 4 grammars</description>
|
|
|
|
|
|
|
|
<prerequisites>
|
|
|
|
<maven>3.0</maven>
|
|
|
|
</prerequisites>
|
|
|
|
|
|
|
|
<!-- Ancilliary information for completeness -->
|
|
|
|
<inceptionYear>2009</inceptionYear>
|
|
|
|
|
2016-11-14 07:37:41 +08:00
|
|
|
<properties>
|
|
|
|
<mavenVersion>3.3.9</mavenVersion>
|
2016-11-15 00:09:15 +08:00
|
|
|
<takariLifecycleVersion>1.11.12</takariLifecycleVersion>
|
2016-11-14 07:37:41 +08:00
|
|
|
</properties>
|
|
|
|
|
2015-04-20 01:24:07 +08:00
|
|
|
<!-- ============================================================================= -->
|
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<!-- What are we depedent on for the Mojos to execute? We need the plugin
|
|
|
|
API itself and of course we need the ANTLR Tool and runtime and any of their
|
|
|
|
dependencies, which we inherit. The Tool itself provides us with all the
|
2015-04-20 01:24:07 +08:00
|
|
|
dependencies, so we need only name it here. -->
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- The things we need to build the target language recognizer -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
|
|
<version>3.0.5</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-compiler-api</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.plexus</groupId>
|
|
|
|
<artifactId>plexus-build-api</artifactId>
|
|
|
|
<version>0.0.7</version>
|
|
|
|
</dependency>
|
2016-11-16 03:08:19 +08:00
|
|
|
<!-- The version of ANTLR tool that this version of the plugin controls.
|
|
|
|
We have decided that this should be in lockstep with ANTLR itself, other
|
2015-04-20 01:24:07 +08:00
|
|
|
than -1 -2 -3 etc patch releases. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
2015-06-20 02:24:50 +08:00
|
|
|
<version>${project.version}</version>
|
2015-04-20 01:24:07 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- Testing requirements... -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-11-14 07:37:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.takari.maven.plugins</groupId>
|
|
|
|
<artifactId>takari-plugin-testing</artifactId>
|
|
|
|
<version>2.9.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
<version>${mavenVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-compat</artifactId>
|
|
|
|
<version>${mavenVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
<version>3.0.15</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-project</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
</dependency>
|
2015-04-20 01:24:07 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2016-11-14 07:37:41 +08:00
|
|
|
<testSourceDirectory>src/test</testSourceDirectory>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2015-04-20 01:24:07 +08:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<version>3.3</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- see http://jira.codehaus.org/browse/MNG-5346 -->
|
|
|
|
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>mojo-descriptor</id>
|
|
|
|
<goals>
|
|
|
|
<goal>descriptor</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>help-goal</id>
|
|
|
|
<goals>
|
|
|
|
<goal>helpmojo</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-11-14 07:37:41 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>io.takari.maven.plugins</groupId>
|
|
|
|
<artifactId>takari-lifecycle-plugin</artifactId>
|
|
|
|
<version>${takariLifecycleVersion}</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>testProperties</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testProperties</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-04-20 01:24:07 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<version>3.3</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
<configuration>
|
|
|
|
<quiet>true</quiet>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2012-03-12 21:16:40 +08:00
|
|
|
</project>
|