• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2
3 [The "BSD license"]
4
5 ANTLR        - Copyright (c) 2005-2010 Terence Parr
6 Maven Plugin - Copyright (c) 2009      Jim Idle
7
8 All rights reserved.
9
10 Redistribution and use in source and binary forms, with or without
11 modification, are permitted provided that the following conditions
12 are met:
13 1. Redistributions of source code must retain the above copyright
14    notice, this list of conditions and the following disclaimer.
15 2. Redistributions in binary form must reproduce the above copyright
16    notice, this list of conditions and the following disclaimer in the
17    documentation and/or other materials provided with the distribution.
18 3. The name of the author may not be used to endorse or promote products
19    derived from this software without specific prior written permission.
20
21 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32  -->
33
34<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">
35
36    <modelVersion>4.0.0</modelVersion>
37
38    <prerequisites>
39        <maven>2.0</maven>
40    </prerequisites>
41
42    <groupId>org.antlr</groupId>
43    <artifactId>maven-gunit-plugin</artifactId>
44    <packaging>maven-plugin</packaging>
45
46    <name>ANTLR 3 gUnit Maven plugin</name>
47	<description>A Maven plugin for incorporating gUnit testing of grammars</description>
48    <url>http://antlr.org</url>
49
50    <!--
51
52    Inherit from the ANTLR master pom, which tells us what
53    version we are and allows us to inherit dependencies
54    and so on.
55    -->
56    <parent>
57        <groupId>org.antlr</groupId>
58        <artifactId>antlr-master</artifactId>
59        <version>3.5.2</version>
60    </parent>
61
62    <properties>
63        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
64    </properties>
65
66    <!--
67
68     What are we depedent on for the Mojos to execute? We need the
69     plugin API itself and of course we need the ANTLR Tool and runtime
70     and any of their dependencies, which we inherit. The Tool itself provides
71     us with all the dependencies, so we need only name it here.
72      -->
73    <dependencies>
74
75        <!--
76          The things we need to build the target language recognizer
77          -->
78        <dependency>
79            <groupId>org.apache.maven</groupId>
80            <artifactId>maven-plugin-api</artifactId>
81            <version>2.0</version>
82            <scope>compile</scope>
83        </dependency>
84
85        <dependency>
86            <groupId>org.apache.maven</groupId>
87            <artifactId>maven-project</artifactId>
88            <version>2.0</version>
89        </dependency>
90
91        <dependency>
92            <groupId>org.codehaus.plexus</groupId>
93            <artifactId>plexus-compiler-api</artifactId>
94            <version>2.0</version>
95        </dependency>
96
97        <!--
98         The version of ANTLR tool that this version of the plugin controls.
99         We have decided that this should be in lockstep with ANTLR itself, other
100         than -1 -2 -3 etc patch releases.
101          -->
102        <dependency>
103            <groupId>org.antlr</groupId>
104            <artifactId>antlr</artifactId>
105            <version>${project.version}</version>
106        </dependency>
107
108        <!--
109         Dependency on the gUnit artifact.
110        -->
111        <dependency>
112            <groupId>org.antlr</groupId>
113            <artifactId>gunit</artifactId>
114            <version>${project.version}</version>
115        </dependency>
116
117        <dependency>
118            <groupId>org.apache.maven.shared</groupId>
119            <artifactId>maven-plugin-testing-harness</artifactId>
120            <version>1.1</version>
121            <scope>test</scope>
122        </dependency>
123
124    </dependencies>
125
126    <build>
127
128        <plugins>
129
130            <plugin>
131                <groupId>org.apache.maven.plugins</groupId>
132                <artifactId>maven-project-info-reports-plugin</artifactId>
133                <version>2.6</version>
134                <configuration>
135                    <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
136                </configuration>
137            </plugin>
138
139        </plugins>
140
141    </build>
142
143</project>
144