bf63eb522861d3999465404f06e6fa90b80e6e1c
[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.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>2.0.5</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-parser-impl</artifactId>
22     <version>2.0.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25     <description>YANG parser</description>
26
27     <dependencyManagement>
28         <dependencies>
29             <dependency>
30                 <groupId>org.opendaylight.yangtools</groupId>
31                 <artifactId>yangtools-artifacts</artifactId>
32                 <version>2.0.0-SNAPSHOT</version>
33                 <scope>import</scope>
34                 <type>pom</type>
35             </dependency>
36         </dependencies>
37     </dependencyManagement>
38
39     <dependencies>
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>yang-common</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>yang-model-api</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>yang-parser-api</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>yang-parser-reactor</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-parser-spi</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>yang-model-util</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>yang-data-util</artifactId>
67         </dependency>
68
69         <!-- Base RFC6020/RFC7950 reactor support -->
70         <dependency>
71             <groupId>${project.groupId}</groupId>
72             <artifactId>yang-parser-rfc7950</artifactId>
73         </dependency>
74
75         <!-- Various extension reactor supports -->
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>odlext-model-api</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>openconfig-model-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>openconfig-parser-support</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>${project.groupId}</groupId>
90             <artifactId>rfc7952-model-api</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>${project.groupId}</groupId>
94             <artifactId>rfc7952-parser-support</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>rfc8040-model-api</artifactId>
99         </dependency>
100
101         <dependency>
102             <groupId>org.mockito</groupId>
103             <artifactId>mockito-core</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>com.google.guava</groupId>
107             <artifactId>guava</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>junit</groupId>
111             <artifactId>junit</artifactId>
112             <scope>test</scope>
113         </dependency>
114         <dependency>
115             <groupId>ch.qos.logback</groupId>
116             <artifactId>logback-classic</artifactId>
117             <scope>test</scope>
118         </dependency>
119         <dependency>
120             <groupId>${project.groupId}</groupId>
121             <artifactId>concepts</artifactId>
122         </dependency>
123     </dependencies>
124
125     <build>
126         <plugins>
127             <plugin>
128                 <groupId>org.codehaus.mojo</groupId>
129                 <artifactId>build-helper-maven-plugin</artifactId>
130             </plugin>
131             <plugin>
132                 <groupId>org.apache.maven.plugins</groupId>
133                 <artifactId>maven-checkstyle-plugin</artifactId>
134                 <configuration>
135                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
136                 </configuration>
137             </plugin>
138             <plugin>
139                 <groupId>org.apache.felix</groupId>
140                 <artifactId>maven-bundle-plugin</artifactId>
141                 <extensions>true</extensions>
142                 <configuration>
143                     <instructions>
144                         <Export-Package>
145                             {local-packages},
146                             org.opendaylight.yangtools.yang.parser.impl.*,
147                             ;-split-package:=error
148                         </Export-Package>
149                     </instructions>
150                 </configuration>
151             </plugin>
152         </plugins>
153     </build>
154
155     <!--
156         Maven Site Configuration
157
158         The following configuration is necessary for maven-site-plugin to
159         correctly identify the correct deployment path for OpenDaylight Maven
160         sites.
161     -->
162     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
163
164     <distributionManagement>
165         <site>
166             <id>opendaylight-site</id>
167             <url>${nexus.site.url}/${project.artifactId}/</url>
168         </site>
169     </distributionManagement>
170 </project>