• 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    <modelVersion>4.0.0</modelVersion>
36    <parent>
37        <groupId>org.antlr</groupId>
38        <artifactId>antlr-master</artifactId>
39        <version>3.5.3</version>
40    </parent>
41    <artifactId>maven-gunit-plugin</artifactId>
42    <packaging>maven-plugin</packaging>
43    <name>ANTLR 3 gUnit Maven plugin</name>
44    <description>A Maven plugin for incorporating gUnit testing of grammars</description>
45    <url>http://antlr.org</url>
46
47    <properties>
48        <mavenVersion>3.8.4</mavenVersion>
49        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50    </properties>
51
52    <!--
53
54     What are we depedent on for the Mojos to execute? We need the
55     plugin API itself and of course we need the ANTLR Tool and runtime
56     and any of their dependencies, which we inherit. The Tool itself provides
57     us with all the dependencies, so we need only name it here.
58      -->
59    <dependencies>
60
61        <!--
62          The things we need to build the target language recognizer
63          -->
64        <!-- The things we need to build the target language recognizer -->
65        <dependency>
66            <groupId>org.apache.maven</groupId>
67            <artifactId>maven-plugin-api</artifactId>
68            <version>3.8.4</version>
69            <scope>provided</scope>
70        </dependency>
71        <dependency>
72            <groupId>org.codehaus.plexus</groupId>
73            <artifactId>plexus-compiler-api</artifactId>
74            <version>2.9.0</version>
75        </dependency>
76        <dependency>
77            <groupId>org.sonatype.plexus</groupId>
78            <artifactId>plexus-build-api</artifactId>
79            <version>0.0.7</version>
80        </dependency>
81        <!-- The version of ANTLR tool that this version of the plugin controls.
82          We have decided that this should be in lockstep with ANTLR itself, other
83          than -1 -2 -3 etc patch releases. -->
84        <!-- Testing requirements... -->
85        <dependency>
86            <groupId>junit</groupId>
87            <artifactId>junit</artifactId>
88            <version>4.13.2</version>
89            <scope>test</scope>
90        </dependency>
91        <dependency>
92            <groupId>org.apache.maven.plugin-tools</groupId>
93            <artifactId>maven-plugin-annotations</artifactId>
94            <version>3.6.2</version>
95            <scope>provided</scope>
96        </dependency>
97        <dependency>
98            <groupId>io.takari.maven.plugins</groupId>
99            <artifactId>takari-plugin-testing</artifactId>
100            <version>3.0.0</version>
101            <scope>test</scope>
102        </dependency>
103        <dependency>
104            <groupId>org.apache.maven</groupId>
105            <artifactId>maven-core</artifactId>
106            <version>3.8.4</version>
107            <scope>provided</scope>
108        </dependency>
109        <dependency>
110            <groupId>org.apache.maven</groupId>
111            <artifactId>maven-compat</artifactId>
112            <version>3.8.4</version>
113            <scope>test</scope>
114        </dependency>
115        <dependency>
116            <groupId>org.codehaus.plexus</groupId>
117            <artifactId>plexus-utils</artifactId>
118            <version>3.4.1</version>
119            <scope>provided</scope>
120        </dependency>
121        <dependency>
122            <groupId>org.slf4j</groupId>
123            <artifactId>slf4j-api</artifactId>
124            <version>1.7.32</version>
125        </dependency>
126        <!--
127         The version of ANTLR tool that this version of the plugin controls.
128         We have decided that this should be in lockstep with ANTLR itself, other
129         than -1 -2 -3 etc patch releases.
130          -->
131        <dependency>
132            <groupId>org.antlr</groupId>
133            <artifactId>antlr</artifactId>
134            <version>${project.version}</version>
135        </dependency>
136        <dependency>
137            <groupId>org.antlr</groupId>
138            <artifactId>gunit</artifactId>
139            <version>${project.version}</version>
140        </dependency>
141
142        <dependency>
143            <groupId>org.apache.maven.shared</groupId>
144            <artifactId>maven-plugin-testing-harness</artifactId>
145            <version>1.1</version>
146            <scope>test</scope>
147        </dependency>
148    </dependencies>
149
150    <build>
151
152        <plugins>
153            <plugin> <!-- create javadoc jar -->
154                <groupId>org.apache.maven.plugins</groupId>
155                <artifactId>maven-javadoc-plugin</artifactId>
156                <version>3.3.1</version>
157                <configuration>
158                    <javadocVersion>1.8</javadocVersion>
159                    <failOnError>false</failOnError>
160                </configuration>
161            </plugin>
162
163            <plugin>
164                <groupId>org.apache.maven.plugins</groupId>
165                <artifactId>maven-project-info-reports-plugin</artifactId>
166                <version>2.6</version>
167                <configuration>
168                    <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
169                </configuration>
170            </plugin>
171
172        </plugins>
173
174    </build>
175
176</project>
177