Experiment: fix base.directory vs. basedir
[yangtools.git] / yang / yang-data-codec-xml / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>bundle-parent</artifactId>
14         <version>4.0.0-SNAPSHOT</version>
15         <relativePath/>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>yang-data-codec-xml</artifactId>
21     <version>2.1.0-SNAPSHOT</version>
22     <packaging>bundle</packaging>
23     <name>${project.artifactId}</name>
24     <description>${project.artifactId}</description>
25
26     <properties>
27         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
28     </properties>
29
30     <dependencyManagement>
31         <dependencies>
32             <dependency>
33                 <groupId>org.opendaylight.yangtools</groupId>
34                 <artifactId>yangtools-artifacts</artifactId>
35                 <version>2.1.0-SNAPSHOT</version>
36                 <scope>import</scope>
37                 <type>pom</type>
38             </dependency>
39         </dependencies>
40     </dependencyManagement>
41
42     <dependencies>
43         <dependency>
44             <groupId>org.codehaus.woodstox</groupId>
45             <artifactId>stax2-api</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.yangtools</groupId>
49             <artifactId>yang-data-api</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.yangtools</groupId>
53             <artifactId>yang-data-impl</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.yangtools</groupId>
57             <artifactId>yang-data-util</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.yangtools</groupId>
61             <artifactId>yang-parser-impl</artifactId>
62             <scope>test</scope>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.yangtools</groupId>
66             <artifactId>yang-test-util</artifactId>
67             <scope>test</scope>
68         </dependency>
69         <dependency>
70             <groupId>org.xmlunit</groupId>
71             <artifactId>xmlunit-legacy</artifactId>
72         </dependency>
73     </dependencies>
74
75     <build>
76         <plugins>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-checkstyle-plugin</artifactId>
80                 <configuration>
81                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
82                 </configuration>
83             </plugin>
84             <plugin>
85                 <groupId>org.jacoco</groupId>
86                 <artifactId>jacoco-maven-plugin</artifactId>
87                 <executions>
88                     <execution>
89                         <id>pre-unit-test</id>
90                         <goals>
91                             <goal>prepare-agent</goal>
92                         </goals>
93                         <configuration>
94                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
95                         </configuration>
96                     </execution>
97                     <execution>
98                         <id>post-unit-test</id>
99                         <goals>
100                             <goal>report</goal>
101                         </goals>
102                         <configuration>
103                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
104                         </configuration>
105                     </execution>
106                 </executions>
107             </plugin>
108         </plugins>
109     </build>
110
111 </project>