Merge 'origin/topic/schema' branch into merge-branch
[ovsdb.git] / commons / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.2-SNAPSHOT</version>
8   </parent>
9   <groupId>org.opendaylight.ovsdb</groupId>
10   <artifactId>commons</artifactId>
11   <version>1.1.0-SNAPSHOT</version>
12   <packaging>pom</packaging>
13   <prerequisites>
14     <maven>3.0</maven>
15   </prerequisites>
16   <properties>
17     <java.version.source>1.7</java.version.source>
18     <java.version.target>1.7</java.version.target>
19     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
20     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21     <!-- Use Jacoco 6.4 for the seperate integration-test reporting -->
22     <jacoco.version>0.6.4.201312101107</jacoco.version>
23     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
24     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
25     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
26   </properties>
27
28   <dependencyManagement>
29     <dependencies>
30       <dependency>
31         <groupId>org.opendaylight.ovsdb</groupId>
32         <artifactId>ovsdb</artifactId>
33         <version>0.5.1-SNAPSHOT</version>
34       </dependency>
35     </dependencies>
36   </dependencyManagement>
37
38   <build>
39     <pluginManagement>
40       <plugins>
41         <plugin>
42           <groupId>org.apache.maven.plugins</groupId>
43           <artifactId>maven-compiler-plugin</artifactId>
44           <configuration>
45             <source>${java.version.source}</source>
46             <target>${java.version.target}</target>
47             <testSource>${java.version.source}</testSource>
48             <testTarget>${java.version.target}</testTarget>
49           </configuration>
50         </plugin>
51       </plugins>
52     </pluginManagement>
53     <plugins>
54       <plugin>
55         <groupId>org.jacoco</groupId>
56         <artifactId>jacoco-maven-plugin</artifactId>
57         <configuration>
58           <includes>
59             <include>org.opendaylight.ovsdb.*</include>
60           </includes>
61         </configuration>
62         <executions>
63           <execution>
64             <id>pre-unit-test</id>
65             <goals>
66               <goal>prepare-agent</goal>
67             </goals>
68             <configuration>
69               <destFile>${sonar.jacoco.reportPath}</destFile>
70               <propertyName>surefireArgLine</propertyName>
71             </configuration>
72           </execution>
73           <execution>
74             <id>pre-integration-test</id>
75             <goals>
76               <goal>prepare-agent-integration</goal>
77             </goals>
78             <configuration>
79               <destFile>${sonar.jacoco.itReportPath}</destFile>
80               <propertyName>failsafeArgLine</propertyName>
81             </configuration>
82           </execution>
83           <execution>
84             <id>post-unit-test</id>
85             <goals>
86               <goal>report</goal>
87             </goals>
88             <configuration>
89               <dataFile>${sonar.jacoco.reportPath}</dataFile>
90             </configuration>
91           </execution>
92           <execution>
93             <id>post-integration-test</id>
94             <goals>
95               <goal>report-integration</goal>
96             </goals>
97             <configuration>
98               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
99             </configuration>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-surefire-plugin</artifactId>
106         <configuration>
107           <!-- Use the Jacoco Argline -->
108           <argLine>${surefireArgLine}</argLine>
109         </configuration>
110       </plugin>
111       <plugin>
112         <groupId>org.apache.maven.plugins</groupId>
113         <artifactId>maven-failsafe-plugin</artifactId>
114         <configuration>
115           <!-- Use the Jacoco Argline -->
116           <argLine>${failsafeArgLine}</argLine>
117         </configuration>
118       </plugin>
119     </plugins>
120   </build>
121   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
122   <scm>
123     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
124     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
125     <tag>HEAD</tag>
126     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
127   </scm>
128
129   <repositories>
130     <!-- Opendaylight public group -->
131     <repository>
132       <snapshots>
133         <enabled>false</enabled>
134       </snapshots>
135       <id>opendaylight-public</id>
136       <name>opendaylight-public</name>
137       <url>${nexusproxy}/groups/public/</url>
138     </repository>
139     <!-- OpenDayLight Released artifact -->
140     <repository>
141       <id>opendaylight-release</id>
142       <name>opendaylight-release</name>
143       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
144     </repository>
145     <!-- OpenDayLight Snapshot artifact -->
146     <repository>
147       <id>opendaylight-snapshot</id>
148       <name>opendaylight-snapshot</name>
149       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
150     </repository>
151   </repositories>
152
153   <pluginRepositories>
154     <pluginRepository>
155       <snapshots>
156         <enabled>false</enabled>
157       </snapshots>
158       <id>opendaylight-public</id>
159       <name>opendaylight-public</name>
160       <url>http://nexus.opendaylight.org/content/groups/public/</url>
161     </pluginRepository>
162     <pluginRepository>
163       <id>opendaylight-release</id>
164       <name>central2</name>
165       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
166     </pluginRepository>
167     <pluginRepository>
168       <id>opendaylight-snapshot</id>
169       <name>central2</name>
170       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
171     </pluginRepository>
172   </pluginRepositories>
173 </project>