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