e3a03c279f4587db3e1da64df75dc57c490aa1b7
[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         </dependency>
45         <dependency>
46             <groupId>org.mockito</groupId>
47             <artifactId>mockito-core</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>com.google.guava</groupId>
51             <artifactId>guava</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>ch.qos.logback</groupId>
60             <artifactId>logback-classic</artifactId>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>${project.groupId}</groupId>
65             <artifactId>concepts</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>com.google.code.findbugs</groupId>
69             <artifactId>jsr305</artifactId>
70         </dependency>
71     </dependencies>
72
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>org.antlr</groupId>
77                 <artifactId>antlr4-maven-plugin</artifactId>
78                 <version>4.5.1-1</version>
79                 <executions>
80                     <execution>
81                         <goals>
82                             <goal>antlr4</goal>
83                         </goals>
84                     </execution>
85                 </executions>
86                 <configuration>
87                     <sourceDirectory>src/main/antlr</sourceDirectory>
88                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
89                     <visitor>true</visitor>
90                     <listener>true</listener>
91                 </configuration>
92             </plugin>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-javadoc-plugin</artifactId>
96                 <configuration>
97                     <excludePackageNames>
98                         *.opendaylight.yangtools.antlrv4.code.gen
99                     </excludePackageNames>
100                 </configuration>
101             </plugin>
102             <plugin>
103                 <groupId>org.apache.felix</groupId>
104                 <artifactId>maven-bundle-plugin</artifactId>
105                 <extensions>true</extensions>
106                 <configuration>
107                     <instructions>
108                         <Export-Package>
109                             org.opendaylight.yangtools.yang.parser.*
110                         </Export-Package>
111                     </instructions>
112                 </configuration>
113             </plugin>
114         </plugins>
115         <pluginManagement>
116             <plugins>
117                 <plugin>
118                     <groupId>org.eclipse.m2e</groupId>
119                     <artifactId>lifecycle-mapping</artifactId>
120                     <version>1.0.0</version>
121                     <configuration>
122                         <lifecycleMappingMetadata>
123                             <pluginExecutions>
124                                 <pluginExecution>
125                                     <pluginExecutionFilter>
126                                         <groupId>org.antlr</groupId>
127                                         <artifactId>antlr4-maven-plugin</artifactId>
128                                         <versionRange>[4.0,)</versionRange>
129                                         <goals>
130                                             <goal>antlr4</goal>
131                                         </goals>
132                                     </pluginExecutionFilter>
133                                     <action>
134                                         <execute />
135                                     </action>
136                                 </pluginExecution>
137                             </pluginExecutions>
138                         </lifecycleMappingMetadata>
139                     </configuration>
140                 </plugin>
141             </plugins>
142         </pluginManagement>
143     </build>
144 </project>