Bump versions by x.y.(z+1)
[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>1.8.5-SNAPSHOT</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.1.5-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.1.5-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.5.3</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                             org.opendaylight.yangtools.yang.data.impl.*
74                         </Export-Package>
75                     </instructions>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.jacoco</groupId>
80                 <artifactId>jacoco-maven-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <id>prepare-ut-agent</id>
84                         <phase>process-test-classes</phase>
85                         <goals>
86                             <goal>prepare-agent</goal>
87                         </goals>
88                         <configuration>
89                             <destFile>${sonar.jacoco.reportPath}</destFile>
90                             <propertyName>jacoco.agent.ut.arg</propertyName>
91                         </configuration>
92                     </execution>
93                     <execution>
94                         <id>prepare-it-agent</id>
95                         <phase>pre-integration-test</phase>
96                         <goals>
97                             <goal>prepare-agent</goal>
98                         </goals>
99                         <configuration>
100                             <destFile>${sonar.jacoco.itReportPath}</destFile>
101                             <propertyName>jacoco.agent.it.arg</propertyName>
102                         </configuration>
103                     </execution>
104                 </executions>
105             </plugin>
106         </plugins>
107     </build>
108
109     <dependencies>
110         <dependency>
111             <groupId>${project.groupId}</groupId>
112             <artifactId>util</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>${project.groupId}</groupId>
116             <artifactId>yang-common</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>yang-data-api</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>${project.groupId}</groupId>
124             <artifactId>yang-data-util</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>${project.groupId}</groupId>
128             <artifactId>yang-model-api</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>${project.groupId}</groupId>
132             <artifactId>yang-model-util</artifactId>
133         </dependency>
134         <dependency>
135             <groupId>com.google.guava</groupId>
136             <artifactId>guava</artifactId>
137         </dependency>
138         <dependency>
139             <groupId>junit</groupId>
140             <artifactId>junit</artifactId>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.mockito</groupId>
145             <artifactId>mockito-core</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.slf4j</groupId>
149             <artifactId>slf4j-log4j12</artifactId>
150             <scope>test</scope>
151         </dependency>
152         <dependency>
153             <groupId>xmlunit</groupId>
154             <artifactId>xmlunit</artifactId>
155             <scope>test</scope>
156         </dependency>
157         <dependency>
158             <groupId>${project.groupId}</groupId>
159             <artifactId>yang-parser-impl</artifactId>
160             <scope>test</scope>
161         </dependency>
162         <dependency>
163             <groupId>${project.groupId}</groupId>
164             <artifactId>yang-test-util</artifactId>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>commons-lang</groupId>
169             <artifactId>commons-lang</artifactId>
170             <scope>test</scope>
171         </dependency>
172         <dependency>
173             <groupId>org.antlr</groupId>
174             <artifactId>antlr4-runtime</artifactId>
175             <version>4.5.3</version>
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>