06188af15e3b82beee75ec25ad75785fd0a73000
[yangtools.git] / yang / yang-data-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4     This program and the accompanying materials are made available under the
5     terms of the Eclipse Public License v1.0 which accompanies this distribution,
6     and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <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">
8     <modelVersion>4.0.0</modelVersion>
9     <parent>
10         <groupId>org.opendaylight.yangtools</groupId>
11         <artifactId>bundle-parent</artifactId>
12         <version>4.0.0-SNAPSHOT</version>
13         <relativePath>../../bundle-parent</relativePath>
14     </parent>
15
16     <artifactId>yang-data-impl</artifactId>
17     <packaging>bundle</packaging>
18     <name>${project.artifactId}</name>
19     <description>${project.artifactId}</description>
20
21     <properties>
22         <!-- FIXME: workaround for MJAVADOC-586 -->
23         <maven.compiler.release>8</maven.compiler.release>
24     </properties>
25
26     <build>
27         <plugins>
28             <plugin>
29                 <groupId>org.antlr</groupId>
30                 <artifactId>antlr4-maven-plugin</artifactId>
31                 <executions>
32                     <execution>
33                         <goals>
34                             <goal>antlr4</goal>
35                         </goals>
36                     </execution>
37                 </executions>
38                 <configuration>
39                     <sourceDirectory>src/main/antlr</sourceDirectory>
40                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
41                     <visitor>true</visitor>
42                     <listener>true</listener>
43                 </configuration>
44             </plugin>
45             <plugin>
46                 <groupId>org.apache.maven.plugins</groupId>
47                 <artifactId>maven-surefire-plugin</artifactId>
48                 <configuration>
49                 <argLine>-Dlog4j.configuration=log4j-test.xml
50                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
51                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
52                 </configuration>
53             </plugin>
54             <plugin>
55                 <groupId>org.apache.felix</groupId>
56                 <artifactId>maven-bundle-plugin</artifactId>
57                 <extensions>true</extensions>
58                 <configuration>
59                     <instructions>
60                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.data.impl</Automatic-Module-Name>
61                         <Export-Package>
62                             {local-packages},
63                             org.opendaylight.yangtools.yang.data.impl.*,
64                             ;-split-package:=error
65                         </Export-Package>
66                         <Bundle-Activator>org.opendaylight.yangtools.yang.data.impl.osgi.Activator</Bundle-Activator>
67                     </instructions>
68                 </configuration>
69             </plugin>
70             <plugin>
71                 <groupId>org.jacoco</groupId>
72                 <artifactId>jacoco-maven-plugin</artifactId>
73                 <executions>
74                     <execution>
75                         <id>pre-unit-test</id>
76                         <goals>
77                             <goal>prepare-agent</goal>
78                         </goals>
79                         <configuration>
80                             <propertyName>jacoco.agent.ut.arg</propertyName>
81                         </configuration>
82                     </execution>
83                     <execution>
84                         <id>prepare-it-agent</id>
85                         <phase>pre-integration-test</phase>
86                         <goals>
87                             <goal>prepare-agent</goal>
88                         </goals>
89                         <configuration>
90                             <propertyName>jacoco.agent.it.arg</propertyName>
91                         </configuration>
92                     </execution>
93                 </executions>
94             </plugin>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-checkstyle-plugin</artifactId>
98                 <configuration>
99                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
100                 </configuration>
101             </plugin>
102         </plugins>
103     </build>
104
105     <dependencies>
106         <dependency>
107             <groupId>org.opendaylight.yangtools</groupId>
108             <artifactId>util</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.yangtools</groupId>
112             <artifactId>yang-common</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>org.opendaylight.yangtools</groupId>
116             <artifactId>yang-data-api</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.yangtools</groupId>
120             <artifactId>yang-data-util</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>org.opendaylight.yangtools</groupId>
124             <artifactId>yang-model-api</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>org.opendaylight.yangtools</groupId>
128             <artifactId>yang-model-util</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>org.opendaylight.yangtools</groupId>
132             <artifactId>rfc7952-data-util</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>org.opendaylight.yangtools</groupId>
136             <artifactId>rfc8528-data-util</artifactId>
137         </dependency>
138         <dependency>
139             <groupId>com.google.guava</groupId>
140             <artifactId>guava</artifactId>
141         </dependency>
142         <dependency>
143             <groupId>org.antlr</groupId>
144             <artifactId>antlr4-runtime</artifactId>
145         </dependency>
146         <dependency>
147             <groupId>javax.xml.bind</groupId>
148             <artifactId>jaxb-api</artifactId>
149         </dependency>
150
151         <dependency>
152             <groupId>org.kohsuke.metainf-services</groupId>
153             <artifactId>metainf-services</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.osgi</groupId>
157             <artifactId>org.osgi.core</artifactId>
158         </dependency>
159
160         <dependency>
161             <groupId>org.slf4j</groupId>
162             <artifactId>slf4j-log4j12</artifactId>
163             <scope>test</scope>
164         </dependency>
165         <dependency>
166             <groupId>org.xmlunit</groupId>
167             <artifactId>xmlunit-legacy</artifactId>
168         </dependency>
169         <dependency>
170             <groupId>org.opendaylight.yangtools</groupId>
171             <artifactId>yang-parser-impl</artifactId>
172             <scope>test</scope>
173         </dependency>
174         <dependency>
175             <groupId>org.opendaylight.yangtools</groupId>
176             <artifactId>yang-test-util</artifactId>
177             <scope>test</scope>
178         </dependency>
179     </dependencies>
180
181 </project>