Bump odlparent dependencies to 3.0.0
[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"
8     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9
10     <parent>
11         <groupId>org.opendaylight.odlparent</groupId>
12         <artifactId>bundle-parent</artifactId>
13         <version>3.0.0</version>
14         <relativePath/>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <groupId>org.opendaylight.yangtools</groupId>
19     <artifactId>yang-data-impl</artifactId>
20     <version>2.0.0-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <name>${project.artifactId}</name>
23     <description>${project.artifactId}</description>
24
25     <dependencyManagement>
26         <dependencies>
27             <dependency>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yangtools-artifacts</artifactId>
30                 <version>2.0.0-SNAPSHOT</version>
31                 <scope>import</scope>
32                 <type>pom</type>
33             </dependency>
34         </dependencies>
35     </dependencyManagement>
36
37     <build>
38         <plugins>
39             <plugin>
40                 <groupId>org.antlr</groupId>
41                 <artifactId>antlr4-maven-plugin</artifactId>
42                 <executions>
43                     <execution>
44                         <goals>
45                             <goal>antlr4</goal>
46                         </goals>
47                     </execution>
48                 </executions>
49                 <configuration>
50                     <sourceDirectory>src/main/antlr</sourceDirectory>
51                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
52                     <visitor>true</visitor>
53                     <listener>true</listener>
54                 </configuration>
55             </plugin>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-surefire-plugin</artifactId>
59                 <configuration>
60                 <argLine>-Dlog4j.configuration=log4j-test.xml
61                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
62                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <groupId>org.apache.felix</groupId>
67                 <artifactId>maven-bundle-plugin</artifactId>
68                 <extensions>true</extensions>
69                 <configuration>
70                     <instructions>
71                         <Export-Package>
72                             {local-packages},
73                             org.opendaylight.yangtools.yang.data.impl.*,
74                             ;-split-package:=error
75                         </Export-Package>
76                     </instructions>
77                 </configuration>
78             </plugin>
79             <plugin>
80                 <groupId>org.jacoco</groupId>
81                 <artifactId>jacoco-maven-plugin</artifactId>
82                 <executions>
83                     <execution>
84                         <id>prepare-ut-agent</id>
85                         <phase>process-test-classes</phase>
86                         <goals>
87                             <goal>prepare-agent</goal>
88                         </goals>
89                         <configuration>
90                             <destFile>${sonar.jacoco.reportPath}</destFile>
91                             <propertyName>jacoco.agent.ut.arg</propertyName>
92                         </configuration>
93                     </execution>
94                     <execution>
95                         <id>prepare-it-agent</id>
96                         <phase>pre-integration-test</phase>
97                         <goals>
98                             <goal>prepare-agent</goal>
99                         </goals>
100                         <configuration>
101                             <destFile>${sonar.jacoco.itReportPath}</destFile>
102                             <propertyName>jacoco.agent.it.arg</propertyName>
103                         </configuration>
104                     </execution>
105                 </executions>
106             </plugin>
107             <plugin>
108                 <groupId>org.apache.maven.plugins</groupId>
109                 <artifactId>maven-checkstyle-plugin</artifactId>
110                 <configuration>
111                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
112                 </configuration>
113             </plugin>
114         </plugins>
115     </build>
116
117     <dependencies>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>util</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>${project.groupId}</groupId>
124             <artifactId>yang-common</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>${project.groupId}</groupId>
128             <artifactId>yang-data-api</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>${project.groupId}</groupId>
132             <artifactId>yang-data-util</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>${project.groupId}</groupId>
136             <artifactId>yang-model-api</artifactId>
137         </dependency>
138         <dependency>
139             <groupId>${project.groupId}</groupId>
140             <artifactId>yang-model-util</artifactId>
141         </dependency>
142         <dependency>
143             <groupId>com.google.guava</groupId>
144             <artifactId>guava</artifactId>
145         </dependency>
146         <dependency>
147             <groupId>junit</groupId>
148             <artifactId>junit</artifactId>
149             <scope>test</scope>
150         </dependency>
151         <dependency>
152             <groupId>org.mockito</groupId>
153             <artifactId>mockito-core</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.slf4j</groupId>
157             <artifactId>slf4j-log4j12</artifactId>
158             <scope>test</scope>
159         </dependency>
160         <dependency>
161             <groupId>xmlunit</groupId>
162             <artifactId>xmlunit</artifactId>
163             <scope>test</scope>
164         </dependency>
165         <dependency>
166             <groupId>${project.groupId}</groupId>
167             <artifactId>yang-parser-impl</artifactId>
168             <scope>test</scope>
169         </dependency>
170         <dependency>
171             <groupId>${project.groupId}</groupId>
172             <artifactId>yang-test-util</artifactId>
173             <scope>test</scope>
174         </dependency>
175         <dependency>
176             <groupId>commons-lang</groupId>
177             <artifactId>commons-lang</artifactId>
178             <scope>test</scope>
179         </dependency>
180         <dependency>
181             <groupId>org.antlr</groupId>
182             <artifactId>antlr4-runtime</artifactId>
183         </dependency>
184     </dependencies>
185
186     <!--
187         Maven Site Configuration
188  
189         The following configuration is necessary for maven-site-plugin to
190         correctly identify the correct deployment path for OpenDaylight Maven
191         sites.
192     -->
193     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
194  
195     <distributionManagement>
196         <site>
197             <id>opendaylight-site</id>
198             <url>${nexus.site.url}/${project.artifactId}/</url>
199         </site>
200     </distributionManagement>
201 </project>