1c4dea66409c360900ab24876d47b278ad9c1319
[controller.git] / opendaylight / md-sal / benchmark-data-store / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>mdsal-parent</artifactId>
15     <version>1.12.0-SNAPSHOT</version>
16     <relativePath>../parent</relativePath>
17   </parent>
18
19   <groupId>org.opendaylight.controller</groupId>
20   <artifactId>benchmark-data-store</artifactId>
21   <version>1.12.0-SNAPSHOT</version>
22   <packaging>jar</packaging>
23
24   <properties>
25     <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
26   </properties>
27
28   <dependencies>
29     <dependency>
30       <groupId>org.opendaylight.yangtools</groupId>
31       <artifactId>yang-data-impl</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.openjdk.jmh</groupId>
35       <artifactId>jmh-core</artifactId>
36       <version>1.23</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.mdsal</groupId>
40       <artifactId>mdsal-dom-inmemory-datastore</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.mdsal</groupId>
44       <artifactId>mdsal-dom-broker</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.yangtools</groupId>
48       <artifactId>yang-test-util</artifactId>
49       <scope>compile</scope>
50     </dependency>
51   </dependencies>
52
53   <build>
54     <plugins>
55       <plugin>
56         <artifactId>maven-compiler-plugin</artifactId>
57         <configuration>
58           <annotationProcessorPaths>
59             <dependency>
60               <groupId>org.openjdk.jmh</groupId>
61               <artifactId>jmh-generator-annprocess</artifactId>
62               <version>1.23</version>
63             </dependency>
64           </annotationProcessorPaths>
65         </configuration>
66       </plugin>
67       <plugin>
68         <groupId>org.codehaus.mojo</groupId>
69         <artifactId>exec-maven-plugin</artifactId>
70         <configuration>
71           <classpathScope>test</classpathScope>
72           <executable>java</executable>
73           <arguments>
74             <argument>-classpath</argument>
75             <classpath />
76             <argument>org.openjdk.jmh.Main</argument>
77             <argument>.*</argument>
78           </arguments>
79         </configuration>
80         <executions>
81           <execution>
82             <id>run-benchmarks</id>
83             <phase>integration-test</phase>
84             <goals>
85               <goal>exec</goal>
86             </goals>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91   </build>
92 </project>