2012-03-12 21:16:40 +08:00
|
|
|
<!--
|
|
|
|
|
|
|
|
[The "BSD license"]
|
|
|
|
|
|
|
|
ANTLR - Copyright (c) 2005-2010 Terence Parr
|
|
|
|
Maven Plugin - Copyright (c) 2009 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.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2012-11-24 03:28:52 +08:00
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>project</artifactId>
|
|
|
|
<version>4.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2012-03-12 21:16:40 +08:00
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<packaging>maven-plugin</packaging>
|
2012-11-24 03:40:33 +08:00
|
|
|
|
2012-11-24 03:37:36 +08:00
|
|
|
<name>ANTLR 4 Maven plugin</name>
|
2012-11-24 03:40:33 +08:00
|
|
|
|
2012-03-12 21:16:40 +08:00
|
|
|
<prerequisites>
|
2012-04-10 22:47:05 +08:00
|
|
|
<maven>3.0</maven>
|
2012-03-12 21:16:40 +08:00
|
|
|
</prerequisites>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
|
|
|
|
<developer>
|
2012-11-24 03:40:59 +08:00
|
|
|
<name>Terence Parr</name>
|
|
|
|
<url>http://antlr.org/wiki/display/~admin/Home</url>
|
2012-03-12 21:16:40 +08:00
|
|
|
<roles>
|
2012-11-24 03:40:59 +08:00
|
|
|
<role>Project lead - ANTLR</role>
|
2012-03-12 21:16:40 +08:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
|
|
|
|
<developer>
|
2012-11-24 03:40:59 +08:00
|
|
|
<name>Sam Harwell</name>
|
|
|
|
<url>http://tunnelvisionlabs.com</url>
|
2012-03-12 21:16:40 +08:00
|
|
|
<roles>
|
2012-11-24 03:40:59 +08:00
|
|
|
<role>Developer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
|
|
|
|
<developer>
|
|
|
|
<name>Jim Idle</name>
|
|
|
|
<url>http://www.temporal-wave.com</url>
|
|
|
|
<roles>
|
|
|
|
<role>Originator, version 4.0</role>
|
2012-03-12 21:16:40 +08:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
|
|
|
|
<developer>
|
|
|
|
<name>David Holroyd</name>
|
|
|
|
<url>http://david.holroyd.me.uk/</url>
|
|
|
|
<roles>
|
|
|
|
<role>Originator - prior version</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
|
|
|
|
<developer>
|
|
|
|
<name>Kenny MacDermid</name>
|
|
|
|
<url>mailto:kenny "at" kmdconsulting.ca</url>
|
|
|
|
<roles>
|
|
|
|
<role>Contributor - prior versions</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<!-- Location of the license description for this project
|
|
|
|
-->
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
<name>The BSD License</name>
|
|
|
|
<url>http://www.antlr.org/LICENSE.txt </url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>antlr-repo</id>
|
|
|
|
<name>ANTLR Testing repository</name>
|
|
|
|
<url>scpexe://antlr.org/home/mavensync/antlr-repo</url>
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>antlr-snapshot</id>
|
|
|
|
<name>ANTLR Testing Snapshot Repository</name>
|
|
|
|
<url>scpexe://antlr.org/home/mavensync/antlr-snapshot</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
|
|
|
|
<site>
|
|
|
|
<id>antlr-repo</id>
|
|
|
|
<name>ANTLR Maven Plugin Web Site</name>
|
2012-04-10 22:47:05 +08:00
|
|
|
<url>scpexe://antlr.org/home/mavensync/antlr-maven-webs/antlr4-maven-plugin</url>
|
2012-03-12 21:16:40 +08:00
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
Inform Maven of the ANTLR snapshot repository, which it will
|
|
|
|
need to consult to get the latest snapshot build of the runtime and tool
|
|
|
|
if it was not built and installed locally.
|
|
|
|
-->
|
|
|
|
<repositories>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
This is the ANTLR repository.
|
|
|
|
-->
|
|
|
|
<repository>
|
|
|
|
<id>antlr-snapshot</id>
|
|
|
|
<name>ANTLR Testing Snapshot Repository</name>
|
|
|
|
<url>http://antlr.org/antlr-snapshot</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<!-- Ancilliary information for completeness
|
|
|
|
-->
|
|
|
|
<inceptionYear>2009</inceptionYear>
|
|
|
|
|
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<archive>http://antlr.markmail.org/</archive>
|
|
|
|
<otherArchives>
|
|
|
|
<otherArchive>http://www.antlr.org/pipermail/antlr-interest/</otherArchive>
|
|
|
|
</otherArchives>
|
|
|
|
<name>ANTLR Users</name>
|
|
|
|
<subscribe>http://www.antlr.org/mailman/listinfo/antlr-interest/</subscribe>
|
|
|
|
<unsubscribe>http://www.antlr.org/mailman/options/antlr-interest/</unsubscribe>
|
|
|
|
<post>antlr-interest@antlr.org</post>
|
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>ANTLR.org</name>
|
|
|
|
<url>http://www.antlr.org</url>
|
|
|
|
</organization>
|
|
|
|
<!-- ============================================================================= -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
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 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>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>3.0.4</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-project</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>2.2.1</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-compiler-api</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>2.0</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
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
|
|
|
|
than -1 -2 -3 etc patch releases.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<version>4.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Testing requirements...
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>4.11</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-plugin-testing-harness</artifactId>
|
2012-04-10 22:47:05 +08:00
|
|
|
<version>1.1</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-11-27 12:32:52 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2012-03-12 21:16:40 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
|
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-ssh-external</artifactId>
|
2012-04-10 22:47:05 +08:00
|
|
|
<version>2.2</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>2.5.1</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<compilerArguments>
|
|
|
|
<Xlint/>
|
|
|
|
</compilerArguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-11-27 12:32:52 +08:00
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<version>3.2</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>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-03-12 21:16:40 +08:00
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>3.2</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>2.6</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<configuration>
|
|
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2012-11-27 10:24:35 +08:00
|
|
|
<version>2.2.1</version>
|
2012-03-12 21:16:40 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2012-11-27 12:33:21 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2012-03-12 21:16:40 +08:00
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|