YANGTOOLS-706: split out yang-parser-reactor
[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         <dependency>
69             <groupId>org.antlr</groupId>
70             <artifactId>antlr4-runtime</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.mockito</groupId>
74             <artifactId>mockito-core</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>com.google.guava</groupId>
78             <artifactId>guava</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>junit</groupId>
82             <artifactId>junit</artifactId>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>ch.qos.logback</groupId>
87             <artifactId>logback-classic</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>concepts</artifactId>
93         </dependency>
94     </dependencies>
95
96     <build>
97         <plugins>
98             <plugin>
99                 <groupId>org.antlr</groupId>
100                 <artifactId>antlr4-maven-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <goals>
104                             <goal>antlr4</goal>
105                         </goals>
106                     </execution>
107                 </executions>
108                 <configuration>
109                     <sourceDirectory>src/main/antlr</sourceDirectory>
110                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
111                     <visitor>true</visitor>
112                     <listener>true</listener>
113                 </configuration>
114             </plugin>
115             <plugin>
116                 <groupId>org.codehaus.mojo</groupId>
117                 <artifactId>build-helper-maven-plugin</artifactId>
118             </plugin>
119             <plugin>
120                 <groupId>org.apache.maven.plugins</groupId>
121                 <artifactId>maven-checkstyle-plugin</artifactId>
122                 <configuration>
123                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
124                 </configuration>
125             </plugin>
126             <plugin>
127                 <groupId>org.apache.maven.plugins</groupId>
128                 <artifactId>maven-javadoc-plugin</artifactId>
129                 <configuration>
130                     <excludePackageNames>
131                         *.opendaylight.yangtools.antlrv4.code.gen
132                     </excludePackageNames>
133                 </configuration>
134             </plugin>
135             <plugin>
136                 <groupId>org.apache.felix</groupId>
137                 <artifactId>maven-bundle-plugin</artifactId>
138                 <extensions>true</extensions>
139                 <configuration>
140                     <instructions>
141                         <Export-Package>
142                             {local-packages},
143                             org.opendaylight.yangtools.yang.parser.impl.*,
144                             ;-split-package:=error
145                         </Export-Package>
146                     </instructions>
147                 </configuration>
148             </plugin>
149         </plugins>
150     </build>
151
152     <!--
153         Maven Site Configuration
154
155         The following configuration is necessary for maven-site-plugin to
156         correctly identify the correct deployment path for OpenDaylight Maven
157         sites.
158     -->
159     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
160
161     <distributionManagement>
162         <site>
163             <id>opendaylight-site</id>
164             <url>${nexus.site.url}/${project.artifactId}/</url>
165         </site>
166     </distributionManagement>
167 </project>