Merge "Bug 2983 - Throws ResultAlreadySet instead of IllegalStateException"
[yangtools.git] / yang / yang-parser-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.8.0-SNAPSHOT</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yang-parser-impl</artifactId>
21     <name>${project.artifactId}</name>
22     <description>YANG parser</description>
23
24     <dependencies>
25         <dependency>
26             <groupId>${project.groupId}</groupId>
27             <artifactId>yang-common</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>yang-model-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>${project.groupId}</groupId>
35             <artifactId>yang-parser-api</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>yang-model-util</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.antlr</groupId>
43             <artifactId>antlr4-runtime</artifactId>
44             <version>4.0</version>
45         </dependency>
46         <dependency>
47             <groupId>org.mockito</groupId>
48             <artifactId>mockito-core</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>com.google.guava</groupId>
52             <artifactId>guava</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit</artifactId>
57             <scope>test</scope>
58         </dependency>
59         <dependency>
60             <groupId>ch.qos.logback</groupId>
61             <artifactId>logback-classic</artifactId>
62             <scope>test</scope>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>concepts</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>com.google.code.findbugs</groupId>
70             <artifactId>jsr305</artifactId>
71         </dependency>
72     </dependencies>
73
74     <build>
75         <plugins>
76             <plugin>
77                 <groupId>org.antlr</groupId>
78                 <artifactId>antlr4-maven-plugin</artifactId>
79                 <version>4.0</version>
80                 <executions>
81                     <execution>
82                         <goals>
83                             <goal>antlr4</goal>
84                         </goals>
85                     </execution>
86                 </executions>
87                 <configuration>
88                     <sourceDirectory>src/main/antlr</sourceDirectory>
89                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
90                     <visitor>true</visitor>
91                     <listener>true</listener>
92                 </configuration>
93             </plugin>
94             <plugin>
95                 <groupId>org.apache.maven.plugins</groupId>
96                 <artifactId>maven-javadoc-plugin</artifactId>
97                 <configuration>
98                     <excludePackageNames>
99                         *.opendaylight.yangtools.antlrv4.code.gen
100                     </excludePackageNames>
101                 </configuration>
102             </plugin>
103             <plugin>
104                 <groupId>org.apache.felix</groupId>
105                 <artifactId>maven-bundle-plugin</artifactId>
106                 <extensions>true</extensions>
107                 <configuration>
108                     <instructions>
109                         <Export-Package>
110                             org.opendaylight.yangtools.yang.parser.*
111                         </Export-Package>
112                     </instructions>
113                 </configuration>
114             </plugin>
115         </plugins>
116         <pluginManagement>
117             <plugins>
118                 <plugin>
119                     <groupId>org.eclipse.m2e</groupId>
120                     <artifactId>lifecycle-mapping</artifactId>
121                     <version>1.0.0</version>
122                     <configuration>
123                         <lifecycleMappingMetadata>
124                             <pluginExecutions>
125                                 <pluginExecution>
126                                     <pluginExecutionFilter>
127                                         <groupId>org.antlr</groupId>
128                                         <artifactId>antlr4-maven-plugin</artifactId>
129                                         <versionRange>[4.0,)</versionRange>
130                                         <goals>
131                                             <goal>antlr4</goal>
132                                         </goals>
133                                     </pluginExecutionFilter>
134                                     <action>
135                                         <execute />
136                                     </action>
137                                 </pluginExecution>
138                             </pluginExecutions>
139                         </lifecycleMappingMetadata>
140                     </configuration>
141                 </plugin>
142             </plugins>
143         </pluginManagement>
144     </build>
145 </project>