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">
10 <groupId>org.opendaylight.odlparent</groupId>
11 <artifactId>bundle-parent</artifactId>
12 <version>4.0.0-SNAPSHOT</version>
16 <modelVersion>4.0.0</modelVersion>
17 <groupId>org.opendaylight.yangtools</groupId>
18 <artifactId>yang-data-impl</artifactId>
19 <version>2.1.0-SNAPSHOT</version>
20 <packaging>bundle</packaging>
21 <name>${project.artifactId}</name>
22 <description>${project.artifactId}</description>
25 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
28 <dependencyManagement>
31 <groupId>org.opendaylight.yangtools</groupId>
32 <artifactId>yangtools-artifacts</artifactId>
33 <version>2.1.0-SNAPSHOT</version>
38 </dependencyManagement>
43 <groupId>org.antlr</groupId>
44 <artifactId>antlr4-maven-plugin</artifactId>
53 <sourceDirectory>src/main/antlr</sourceDirectory>
54 <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
55 <visitor>true</visitor>
56 <listener>true</listener>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-surefire-plugin</artifactId>
63 <argLine>-Dlog4j.configuration=log4j-test.xml
64 -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
65 <redirectTestOutputToFile>true</redirectTestOutputToFile>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>maven-bundle-plugin</artifactId>
71 <extensions>true</extensions>
76 org.opendaylight.yangtools.yang.data.impl.*,
77 ;-split-package:=error
79 <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
80 <Bundle-Activator>org.opendaylight.yangtools.yang.data.impl.osgi.Activator</Bundle-Activator>
85 <groupId>org.jacoco</groupId>
86 <artifactId>jacoco-maven-plugin</artifactId>
89 <id>pre-unit-test</id>
91 <goal>prepare-agent</goal>
94 <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
95 <propertyName>jacoco.agent.ut.arg</propertyName>
99 <id>prepare-it-agent</id>
100 <phase>pre-integration-test</phase>
102 <goal>prepare-agent</goal>
105 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
106 <propertyName>jacoco.agent.it.arg</propertyName>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-checkstyle-plugin</artifactId>
115 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
123 <groupId>${project.groupId}</groupId>
124 <artifactId>util</artifactId>
127 <groupId>${project.groupId}</groupId>
128 <artifactId>yang-common</artifactId>
131 <groupId>${project.groupId}</groupId>
132 <artifactId>yang-data-api</artifactId>
135 <groupId>${project.groupId}</groupId>
136 <artifactId>yang-data-util</artifactId>
139 <groupId>${project.groupId}</groupId>
140 <artifactId>yang-model-api</artifactId>
143 <groupId>${project.groupId}</groupId>
144 <artifactId>yang-model-util</artifactId>
147 <groupId>com.google.guava</groupId>
148 <artifactId>guava</artifactId>
151 <groupId>org.antlr</groupId>
152 <artifactId>antlr4-runtime</artifactId>
156 <groupId>org.kohsuke.metainf-services</groupId>
157 <artifactId>metainf-services</artifactId>
160 <groupId>org.osgi</groupId>
161 <artifactId>org.osgi.core</artifactId>
165 <groupId>org.slf4j</groupId>
166 <artifactId>slf4j-log4j12</artifactId>
170 <groupId>org.xmlunit</groupId>
171 <artifactId>xmlunit-legacy</artifactId>
174 <groupId>${project.groupId}</groupId>
175 <artifactId>yang-parser-impl</artifactId>
179 <groupId>${project.groupId}</groupId>
180 <artifactId>yang-test-util</artifactId>