Remove antlr version override
[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>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         </plugins>
108     </build>
109
110     <dependencies>
111         <dependency>
112             <groupId>${project.groupId}</groupId>
113             <artifactId>util</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>${project.groupId}</groupId>
117             <artifactId>yang-common</artifactId>
118         </dependency>
119         <dependency>
120             <groupId>${project.groupId}</groupId>
121             <artifactId>yang-data-api</artifactId>
122         </dependency>
123         <dependency>
124             <groupId>${project.groupId}</groupId>
125             <artifactId>yang-data-util</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>${project.groupId}</groupId>
129             <artifactId>yang-model-api</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>${project.groupId}</groupId>
133             <artifactId>yang-model-util</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>com.google.guava</groupId>
137             <artifactId>guava</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>junit</groupId>
141             <artifactId>junit</artifactId>
142             <scope>test</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.mockito</groupId>
146             <artifactId>mockito-core</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.slf4j</groupId>
150             <artifactId>slf4j-log4j12</artifactId>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>xmlunit</groupId>
155             <artifactId>xmlunit</artifactId>
156             <scope>test</scope>
157         </dependency>
158         <dependency>
159             <groupId>${project.groupId}</groupId>
160             <artifactId>yang-parser-impl</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>${project.groupId}</groupId>
165             <artifactId>yang-test-util</artifactId>
166             <scope>test</scope>
167         </dependency>
168         <dependency>
169             <groupId>commons-lang</groupId>
170             <artifactId>commons-lang</artifactId>
171             <scope>test</scope>
172         </dependency>
173         <dependency>
174             <groupId>org.antlr</groupId>
175             <artifactId>antlr4-runtime</artifactId>
176         </dependency>
177     </dependencies>
178
179   <!--
180       Maven Site Configuration
181
182       The following configuration is necessary for maven-site-plugin to
183       correctly identify the correct deployment path for OpenDaylight Maven
184       sites.
185   -->
186   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
187
188   <distributionManagement>
189     <site>
190       <id>opendaylight-site</id>
191       <url>${nexus.site.url}/${project.artifactId}/</url>
192     </site>
193   </distributionManagement>
194 </project>