Merge "BUG-1849 Check for duplicate required sources and exclude all redundant"
[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.7.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>commons-io</groupId>
70             <artifactId>commons-io</artifactId>
71         </dependency>
72       <dependency>
73         <groupId>com.google.code.findbugs</groupId>
74         <artifactId>jsr305</artifactId>
75       </dependency>
76     </dependencies>
77
78     <build>
79         <plugins>
80             <plugin>
81                 <groupId>org.antlr</groupId>
82                 <artifactId>antlr4-maven-plugin</artifactId>
83                 <version>4.0</version>
84                 <executions>
85                     <execution>
86                         <goals>
87                             <goal>antlr4</goal>
88                         </goals>
89                     </execution>
90                 </executions>
91                 <configuration>
92                     <sourceDirectory>src/main/antlr</sourceDirectory>
93                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
94                     <visitor>true</visitor>
95                     <listener>true</listener>
96                 </configuration>
97             </plugin>
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-javadoc-plugin</artifactId>
101                 <configuration>
102                     <excludePackageNames>
103                         *.opendaylight.yangtools.antlrv4.code.gen
104                     </excludePackageNames>
105                 </configuration>
106             </plugin>
107             <plugin>
108                 <groupId>org.apache.felix</groupId>
109                 <artifactId>maven-bundle-plugin</artifactId>
110                 <extensions>true</extensions>
111                 <configuration>
112                     <instructions>
113                         <Export-Package>
114                             org.opendaylight.yangtools.yang.parser.*
115                         </Export-Package>
116                     </instructions>
117                 </configuration>
118             </plugin>
119         </plugins>
120         <pluginManagement>
121             <plugins>
122                 <plugin>
123                     <groupId>org.eclipse.m2e</groupId>
124                     <artifactId>lifecycle-mapping</artifactId>
125                     <version>1.0.0</version>
126                     <configuration>
127                         <lifecycleMappingMetadata>
128                             <pluginExecutions>
129                                 <pluginExecution>
130                                     <pluginExecutionFilter>
131                                         <groupId>org.antlr</groupId>
132                                         <artifactId>antlr4-maven-plugin</artifactId>
133                                         <versionRange>[4.0,)</versionRange>
134                                         <goals>
135                                             <goal>antlr4</goal>
136                                         </goals>
137                                     </pluginExecutionFilter>
138                                     <action>
139                                         <execute />
140                                     </action>
141                                 </pluginExecution>
142                             </pluginExecutions>
143                         </lifecycleMappingMetadata>
144                     </configuration>
145                 </plugin>
146             </plugins>
147         </pluginManagement>
148     </build>
149 </project>