BUG-4340: raise test coverage to 80% - transaction related
[openflowplugin.git] / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 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
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent</artifactId>
15         <version>1.6.0-SNAPSHOT</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.openflowplugin</groupId>
21     <artifactId>openflowplugin-parent</artifactId>
22     <version>0.2.0-SNAPSHOT</version>
23     <packaging>pom</packaging>
24
25     <scm>
26         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
27         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
28         <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
29         <tag>HEAD</tag>
30     </scm>
31
32     <properties>
33         <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
34         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35         <openflowjava.version>0.7.0-SNAPSHOT</openflowjava.version>
36         <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
37         <sal.api.version>0.10.0-SNAPSHOT</sal.api.version>
38         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
39         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
40         <exi.nagasena.version>0000.0002.0053.0</exi.nagasena.version>
41         <controller.distribution.version>0.3.0-SNAPSHOT</controller.distribution.version>
42
43         <config.version>0.4.0-SNAPSHOT</config.version>
44         <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
45         <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
46     </properties>
47
48     <dependencyManagement>
49         <dependencies>
50             <dependency>
51                 <groupId>org.opendaylight.openflowplugin</groupId>
52                 <artifactId>openflowplugin-artifacts</artifactId>
53                 <version>${openflowplugin.version}</version>
54                 <scope>import</scope>
55                 <type>pom</type>
56             </dependency>
57
58             <dependency>
59                 <groupId>org.opendaylight.yangtools</groupId>
60                 <artifactId>yangtools-artifacts</artifactId>
61                 <version>${yangtools.version}</version>
62                 <scope>import</scope>
63                 <type>pom</type>
64             </dependency>
65             <dependency>
66                 <groupId>org.opendaylight.mdsal</groupId>
67                 <artifactId>mdsal-artifacts</artifactId>
68                 <version>2.0.0-SNAPSHOT</version>
69                 <scope>import</scope>
70                 <type>pom</type>
71             </dependency>
72             <dependency>
73                 <groupId>org.opendaylight.mdsal.model</groupId>
74                 <artifactId>mdsal-model-artifacts</artifactId>
75                 <version>0.8.0-SNAPSHOT</version>
76                 <scope>import</scope>
77                 <type>pom</type>
78             </dependency>
79             <dependency>
80                 <groupId>org.opendaylight.controller</groupId>
81                 <artifactId>config-artifacts</artifactId>
82                 <version>${config.version}</version>
83                 <scope>import</scope>
84                 <type>pom</type>
85             </dependency>
86             <dependency>
87                 <groupId>org.opendaylight.controller</groupId>
88                 <artifactId>mdsal-artifacts</artifactId>
89                 <version>${mdsal.version}</version>
90                 <scope>import</scope>
91                 <type>pom</type>
92             </dependency>
93             <dependency>
94                 <groupId>org.opendaylight.openflowjava</groupId>
95                 <artifactId>openflowjava-artifacts</artifactId>
96                 <version>${openflowjava.version}</version>
97                 <scope>import</scope>
98                 <type>pom</type>
99             </dependency>
100
101             <dependency>
102                 <groupId>org.opendaylight.controller</groupId>
103                 <artifactId>liblldp</artifactId>
104                 <version>${sal.api.version}</version>
105             </dependency>
106
107             <!-- thirdparty -->
108             <dependency>
109                 <groupId>openexi</groupId>
110                 <artifactId>nagasena</artifactId>
111                 <version>${exi.nagasena.version}</version>
112             </dependency>
113             <dependency>
114                 <groupId>openexi</groupId>
115                 <artifactId>nagasena-rta</artifactId>
116                 <version>${exi.nagasena.version}</version>
117             </dependency>
118         </dependencies>
119     </dependencyManagement>
120
121     <build>
122         <plugins>
123             <plugin>
124                 <groupId>org.codehaus.mojo</groupId>
125                 <artifactId>build-helper-maven-plugin</artifactId>
126             </plugin>
127         </plugins>
128
129         <pluginManagement>
130             <plugins>
131                 <plugin>
132                     <groupId>org.apache.maven.plugins</groupId>
133                     <artifactId>maven-compiler-plugin</artifactId>
134                     <configuration>
135                         <source>1.7</source>
136                         <target>1.7</target>
137                     </configuration>
138                 </plugin>
139                 <plugin>
140                     <artifactId>maven-clean-plugin</artifactId>
141                     <configuration>
142                         <filesets>
143                             <fileset>
144                                 <directory>${jmxGeneratorPath}</directory>
145                                 <includes>
146                                     <include>**</include>
147                                 </includes>
148                             </fileset>
149                             <fileset>
150                                 <directory>${salGeneratorPath}</directory>
151                                 <includes>
152                                     <include>**</include>
153                                 </includes>
154                             </fileset>
155                         </filesets>
156                     </configuration>
157                 </plugin>
158                 <plugin>
159                     <groupId>org.codehaus.mojo</groupId>
160                     <artifactId>build-helper-maven-plugin</artifactId>
161                     <executions>
162                         <execution>
163                             <id>add-source</id>
164                             <phase>generate-sources</phase>
165                             <goals>
166                                 <goal>add-source</goal>
167                             </goals>
168                             <configuration>
169                                 <sources>
170                                     <source>${jmxGeneratorPath}</source>
171                                     <source>${salGeneratorPath}</source>
172                                 </sources>
173                             </configuration>
174                         </execution>
175                     </executions>
176                 </plugin>
177                 <plugin>
178                     <groupId>org.opendaylight.yangtools</groupId>
179                     <artifactId>yang-maven-plugin</artifactId>
180                     <version>${yangtools.version}</version>
181                 </plugin>
182                 <plugin>
183                     <groupId>org.apache.felix</groupId>
184                     <artifactId>maven-bundle-plugin</artifactId>
185                     <version>${maven.bundle.version}</version>
186                     <extensions>true</extensions>
187                     <configuration>
188                         <instructions>
189                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
190                         </instructions>
191                         <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
192                     </configuration>
193                 </plugin>
194                 <!-- Ignore/Execute plugin execution -->
195                 <plugin>
196                     <groupId>org.eclipse.m2e</groupId>
197                     <artifactId>lifecycle-mapping</artifactId>
198                     <version>1.0.0</version>
199                     <configuration>
200                         <lifecycleMappingMetadata>
201                             <pluginExecutions>
202                                 <pluginExecution>
203                                     <pluginExecutionFilter>
204                                         <groupId>org.codehaus.mojo</groupId>
205                                         <artifactId>properties-maven-plugin</artifactId>
206                                         <versionRange>[0.0,)</versionRange>
207                                         <goals>
208                                             <goal>set-system-properties</goal>
209                                         </goals>
210                                     </pluginExecutionFilter>
211                                     <action>
212                                         <ignore/>
213                                     </action>
214                                 </pluginExecution>
215                                 <pluginExecution>
216                                     <pluginExecutionFilter>
217                                         <groupId>org.jacoco</groupId>
218                                         <artifactId>jacoco-maven-plugin</artifactId>
219                                         <versionRange>[0.0,)</versionRange>
220                                         <goals>
221                                             <goal>prepare-agent</goal>
222                                             <goal>pre-test</goal>
223                                             <goal>post-test</goal>
224                                         </goals>
225                                     </pluginExecutionFilter>
226                                     <action>
227                                         <ignore/>
228                                     </action>
229                                 </pluginExecution>
230                                 <pluginExecution>
231                                     <pluginExecutionFilter>
232                                         <groupId>org.ops4j.pax.exam</groupId>
233                                         <artifactId>maven-paxexam-plugin</artifactId>
234                                         <versionRange>[1.2.4,)</versionRange>
235                                         <goals>
236                                             <goal>generate-depends-file</goal>
237                                         </goals>
238                                     </pluginExecutionFilter>
239                                     <action>
240                                         <execute>
241                                             <runOnIncremental>false</runOnIncremental>
242                                         </execute>
243                                     </action>
244                                 </pluginExecution>
245                                 <pluginExecution>
246                                     <pluginExecutionFilter>
247                                         <groupId>org.apache.maven.plugins</groupId>
248                                         <artifactId>maven-checkstyle-plugin</artifactId>
249                                         <versionRange>[2.0,)</versionRange>
250                                         <goals>
251                                             <goal>check</goal>
252                                         </goals>
253                                     </pluginExecutionFilter>
254                                     <action>
255                                         <ignore/>
256                                     </action>
257                                 </pluginExecution>
258                                 <pluginExecution>
259                                     <pluginExecutionFilter>
260                                         <groupId>org.opendaylight.yangtools</groupId>
261                                         <artifactId>yang-maven-plugin</artifactId>
262                                         <versionRange>[0.5,)</versionRange>
263                                         <goals>
264                                             <goal>generate-sources</goal>
265                                         </goals>
266                                     </pluginExecutionFilter>
267                                     <action>
268                                         <execute/>
269                                     </action>
270                                 </pluginExecution>
271                                 <pluginExecution>
272                                     <pluginExecutionFilter>
273                                         <groupId>org.codehaus.groovy.maven</groupId>
274                                         <artifactId>gmaven-plugin</artifactId>
275                                         <versionRange>1.0</versionRange>
276                                         <goals>
277                                             <goal>execute</goal>
278                                         </goals>
279                                     </pluginExecutionFilter>
280                                     <action>
281                                         <ignore/>
282                                     </action>
283                                 </pluginExecution>
284                                 <pluginExecution>
285                                     <pluginExecutionFilter>
286                                         <groupId>org.apache.maven.plugins</groupId>
287                                         <artifactId>maven-enforcer-plugin</artifactId>
288                                         <versionRange>${enforcer.version}</versionRange>
289                                         <goals>
290                                             <goal>enforce</goal>
291                                         </goals>
292                                     </pluginExecutionFilter>
293                                     <action>
294                                         <ignore/>
295                                     </action>
296                                 </pluginExecution>
297                             </pluginExecutions>
298                         </lifecycleMappingMetadata>
299                     </configuration>
300                 </plugin>
301             </plugins>
302         </pluginManagement>
303     </build>
304
305     <profiles>
306         <profile>
307             <id>findbugsReport</id>
308             <reporting>
309                 <plugins>
310                     <plugin>
311                         <groupId>org.apache.maven.plugins</groupId>
312                         <artifactId>maven-project-info-reports-plugin</artifactId>
313                         <version>2.7</version>
314                         <configuration>
315                             <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
316                             <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
317                         </configuration>
318                         <reportSets>
319                             <reportSet>
320                                 <reports>
321                                     <report>index</report>
322                                     <report>project-team</report>
323                                     <report>license</report>
324                                     <report>mailing-list</report>
325                                     <report>plugin-management</report>
326                                     <report>cim</report>
327                                     <report>issue-tracking</report>
328                                     <report>scm</report>
329                                     <report>summary</report>
330                                 </reports>
331                             </reportSet>
332                         </reportSets>
333                     </plugin>
334                     <plugin>
335                         <groupId>org.codehaus.mojo</groupId>
336                         <artifactId>findbugs-maven-plugin</artifactId>
337                         <version>2.5.2</version>
338                     </plugin>
339                     <plugin>
340                         <groupId>org.apache.maven.plugins</groupId>
341                         <artifactId>maven-pmd-plugin</artifactId>
342                         <version>3.0.1</version>
343                     </plugin>
344                     <plugin>
345                         <groupId>org.apache.maven.plugins</groupId>
346                         <artifactId>maven-jxr-plugin</artifactId>
347                         <version>2.3</version>
348                     </plugin>
349                 </plugins>
350             </reporting>
351         </profile>
352     </profiles>
353 </project>