1e2913170edf211376b9311ac8f53848bfb4ea58
[yangtools.git] / yang / yang-parser-rfc7950 / 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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>yang-parser-rfc7950</artifactId>
20     <packaging>bundle</packaging>
21     <name>${project.artifactId}</name>
22     <description>RFC6020/RFC7950 parser support</description>
23
24     <properties>
25         <!-- FIXME: workaround for MJAVADOC-586 -->
26         <maven.compiler.release>8</maven.compiler.release>
27     </properties>
28
29     <dependencies>
30         <dependency>
31             <groupId>com.google.guava</groupId>
32             <artifactId>guava</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>concepts</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-common</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.yangtools</groupId>
44             <artifactId>yang-model-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>yang-parser-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.yangtools</groupId>
52             <artifactId>yang-parser-reactor</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.yangtools</groupId>
56             <artifactId>yang-parser-spi</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.yangtools</groupId>
60             <artifactId>yang-model-util</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.yangtools</groupId>
64             <artifactId>openconfig-model-api</artifactId>
65         </dependency>
66
67         <dependency>
68             <groupId>org.antlr</groupId>
69             <artifactId>antlr4-runtime</artifactId>
70         </dependency>
71
72         <dependency>
73             <groupId>ch.qos.logback</groupId>
74             <artifactId>logback-classic</artifactId>
75             <scope>test</scope>
76         </dependency>
77     </dependencies>
78
79     <build>
80         <plugins>
81             <plugin>
82                 <groupId>org.antlr</groupId>
83                 <artifactId>antlr4-maven-plugin</artifactId>
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>${project.build.directory}/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
94                     <visitor>true</visitor>
95                     <listener>false</listener>
96                 </configuration>
97             </plugin>
98             <plugin>
99                 <groupId>org.apache.felix</groupId>
100                 <artifactId>maven-bundle-plugin</artifactId>
101                 <configuration>
102                     <instructions>
103                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.parser.rfc7950</Automatic-Module-Name>
104                     </instructions>
105                 </configuration>
106             </plugin>
107             <plugin>
108                 <groupId>org.codehaus.mojo</groupId>
109                 <artifactId>build-helper-maven-plugin</artifactId>
110             </plugin>
111             <plugin>
112                 <groupId>org.apache.maven.plugins</groupId>
113                 <artifactId>maven-checkstyle-plugin</artifactId>
114                 <configuration>
115                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
116                 </configuration>
117             </plugin>
118         </plugins>
119     </build>
120
121 </project>