83c0fe38d6c0f3ccc1e6cc3c414705b41a6e412d
[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.1-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                 <executions>
79                     <execution>
80                         <goals>
81                             <goal>antlr4</goal>
82                         </goals>
83                     </execution>
84                 </executions>
85                 <configuration>
86                     <sourceDirectory>src/main/antlr</sourceDirectory>
87                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
88                     <visitor>true</visitor>
89                     <listener>true</listener>
90                 </configuration>
91             </plugin>
92             <plugin>
93                 <groupId>org.apache.maven.plugins</groupId>
94                 <artifactId>maven-javadoc-plugin</artifactId>
95                 <configuration>
96                     <excludePackageNames>
97                         *.opendaylight.yangtools.antlrv4.code.gen
98                     </excludePackageNames>
99                 </configuration>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.felix</groupId>
103                 <artifactId>maven-bundle-plugin</artifactId>
104                 <extensions>true</extensions>
105                 <configuration>
106                     <instructions>
107                         <Export-Package>
108                             org.opendaylight.yangtools.yang.parser.*
109                         </Export-Package>
110                     </instructions>
111                 </configuration>
112             </plugin>
113         </plugins>
114         <pluginManagement>
115             <plugins>
116                 <plugin>
117                     <groupId>org.eclipse.m2e</groupId>
118                     <artifactId>lifecycle-mapping</artifactId>
119                     <version>1.0.0</version>
120                     <configuration>
121                         <lifecycleMappingMetadata>
122                             <pluginExecutions>
123                                 <pluginExecution>
124                                     <pluginExecutionFilter>
125                                         <groupId>org.antlr</groupId>
126                                         <artifactId>antlr4-maven-plugin</artifactId>
127                                         <versionRange>[4.0,)</versionRange>
128                                         <goals>
129                                             <goal>antlr4</goal>
130                                         </goals>
131                                     </pluginExecutionFilter>
132                                     <action>
133                                         <execute />
134                                     </action>
135                                 </pluginExecution>
136                             </pluginExecutions>
137                         </lifecycleMappingMetadata>
138                     </configuration>
139                 </plugin>
140             </plugins>
141         </pluginManagement>
142     </build>
143
144   <!--
145       Maven Site Configuration
146
147       The following configuration is necessary for maven-site-plugin to
148       correctly identify the correct deployment path for OpenDaylight Maven
149       sites.
150   -->
151   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
152
153   <distributionManagement>
154     <site>
155       <id>opendaylight-site</id>
156       <url>${nexus.site.url}/${project.artifactId}/</url>
157     </site>
158   </distributionManagement>
159 </project>