Bump versions to 2.1.1-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>4.0.0</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.1.1-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.1.1-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>pre-unit-test</id>
86                         <goals>
87                             <goal>prepare-agent</goal>
88                         </goals>
89                         <configuration>
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                             <propertyName>jacoco.agent.it.arg</propertyName>
101                         </configuration>
102                     </execution>
103                 </executions>
104             </plugin>
105             <plugin>
106                 <groupId>org.apache.maven.plugins</groupId>
107                 <artifactId>maven-checkstyle-plugin</artifactId>
108                 <configuration>
109                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
110                 </configuration>
111             </plugin>
112         </plugins>
113     </build>
114
115     <dependencies>
116         <dependency>
117             <groupId>${project.groupId}</groupId>
118             <artifactId>util</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>${project.groupId}</groupId>
122             <artifactId>yang-common</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>${project.groupId}</groupId>
126             <artifactId>yang-data-api</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>${project.groupId}</groupId>
130             <artifactId>yang-data-util</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>${project.groupId}</groupId>
134             <artifactId>yang-model-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>${project.groupId}</groupId>
138             <artifactId>yang-model-util</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>com.google.guava</groupId>
142             <artifactId>guava</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.antlr</groupId>
146             <artifactId>antlr4-runtime</artifactId>
147         </dependency>
148
149         <dependency>
150             <groupId>org.kohsuke.metainf-services</groupId>
151             <artifactId>metainf-services</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.osgi</groupId>
155             <artifactId>org.osgi.core</artifactId>
156         </dependency>
157
158         <dependency>
159             <groupId>org.slf4j</groupId>
160             <artifactId>slf4j-log4j12</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.xmlunit</groupId>
165             <artifactId>xmlunit-legacy</artifactId>
166         </dependency>
167         <dependency>
168             <groupId>${project.groupId}</groupId>
169             <artifactId>yang-parser-impl</artifactId>
170             <scope>test</scope>
171         </dependency>
172         <dependency>
173             <groupId>${project.groupId}</groupId>
174             <artifactId>yang-test-util</artifactId>
175             <scope>test</scope>
176         </dependency>
177     </dependencies>
178
179 </project>