Bump versions to 2.0.24-SNAPSHOT
[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
9     <parent>
10         <groupId>org.opendaylight.odlparent</groupId>
11         <artifactId>bundle-parent</artifactId>
12         <version>3.1.9</version>
13         <relativePath/>
14     </parent>
15
16     <modelVersion>4.0.0</modelVersion>
17     <groupId>org.opendaylight.yangtools</groupId>
18     <artifactId>yang-data-impl</artifactId>
19     <version>2.0.24-SNAPSHOT</version>
20     <packaging>bundle</packaging>
21     <name>${project.artifactId}</name>
22     <description>${project.artifactId}</description>
23
24     <dependencyManagement>
25         <dependencies>
26             <dependency>
27                 <groupId>org.opendaylight.yangtools</groupId>
28                 <artifactId>yangtools-artifacts</artifactId>
29                 <version>2.0.24-SNAPSHOT</version>
30                 <scope>import</scope>
31                 <type>pom</type>
32             </dependency>
33         </dependencies>
34     </dependencyManagement>
35
36     <build>
37         <plugins>
38             <plugin>
39                 <groupId>org.antlr</groupId>
40                 <artifactId>antlr4-maven-plugin</artifactId>
41                 <executions>
42                     <execution>
43                         <goals>
44                             <goal>antlr4</goal>
45                         </goals>
46                     </execution>
47                 </executions>
48                 <configuration>
49                     <sourceDirectory>src/main/antlr</sourceDirectory>
50                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
51                     <visitor>true</visitor>
52                     <listener>true</listener>
53                 </configuration>
54             </plugin>
55             <plugin>
56                 <groupId>org.apache.maven.plugins</groupId>
57                 <artifactId>maven-surefire-plugin</artifactId>
58                 <configuration>
59                 <argLine>-Dlog4j.configuration=log4j-test.xml
60                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
61                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
62                 </configuration>
63             </plugin>
64             <plugin>
65                 <groupId>org.apache.felix</groupId>
66                 <artifactId>maven-bundle-plugin</artifactId>
67                 <extensions>true</extensions>
68                 <configuration>
69                     <instructions>
70                         <Export-Package>
71                             {local-packages},
72                             org.opendaylight.yangtools.yang.data.impl.*,
73                             ;-split-package:=error
74                         </Export-Package>
75                         <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
76                         <Bundle-Activator>org.opendaylight.yangtools.yang.data.impl.osgi.Activator</Bundle-Activator>
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             <plugin>
109                 <groupId>org.apache.maven.plugins</groupId>
110                 <artifactId>maven-checkstyle-plugin</artifactId>
111                 <configuration>
112                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
113                 </configuration>
114             </plugin>
115         </plugins>
116     </build>
117
118     <dependencies>
119         <dependency>
120             <groupId>${project.groupId}</groupId>
121             <artifactId>util</artifactId>
122         </dependency>
123         <dependency>
124             <groupId>${project.groupId}</groupId>
125             <artifactId>yang-common</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>${project.groupId}</groupId>
129             <artifactId>yang-data-api</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>${project.groupId}</groupId>
133             <artifactId>yang-data-util</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>${project.groupId}</groupId>
137             <artifactId>yang-model-api</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>${project.groupId}</groupId>
141             <artifactId>yang-model-util</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>com.google.guava</groupId>
145             <artifactId>guava</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.antlr</groupId>
149             <artifactId>antlr4-runtime</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>javax.xml.bind</groupId>
153             <artifactId>jaxb-api</artifactId>
154         </dependency>
155
156         <dependency>
157             <groupId>org.kohsuke.metainf-services</groupId>
158             <artifactId>metainf-services</artifactId>
159         </dependency>
160         <dependency>
161             <groupId>org.osgi</groupId>
162             <artifactId>org.osgi.core</artifactId>
163         </dependency>
164
165         <dependency>
166             <groupId>junit</groupId>
167             <artifactId>junit</artifactId>
168             <scope>test</scope>
169         </dependency>
170         <dependency>
171             <groupId>org.mockito</groupId>
172             <artifactId>mockito-core</artifactId>
173         </dependency>
174         <dependency>
175             <groupId>org.slf4j</groupId>
176             <artifactId>slf4j-log4j12</artifactId>
177             <scope>test</scope>
178         </dependency>
179         <dependency>
180             <groupId>xmlunit</groupId>
181             <artifactId>xmlunit</artifactId>
182             <scope>test</scope>
183         </dependency>
184         <dependency>
185             <groupId>${project.groupId}</groupId>
186             <artifactId>yang-parser-impl</artifactId>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>${project.groupId}</groupId>
191             <artifactId>yang-test-util</artifactId>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>commons-lang</groupId>
196             <artifactId>commons-lang</artifactId>
197             <scope>test</scope>
198         </dependency>
199     </dependencies>
200
201 </project>