Release mdsal
[mdsal.git] / dom / mdsal-dom-inmemory-datastore-benchmark / 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.mdsal</groupId>
14         <artifactId>dom-parent</artifactId>
15         <version>9.0.3</version>
16         <relativePath>../dom-parent</relativePath>
17     </parent>
18
19     <groupId>org.opendaylight.mdsal</groupId>
20     <artifactId>mdsal-dom-inmemory-datastore-benchmark</artifactId>
21     <packaging>jar</packaging>
22
23     <properties>
24         <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
25     </properties>
26
27     <dependencies>
28         <dependency>
29             <groupId>org.opendaylight.yangtools</groupId>
30             <artifactId>yang-data-impl</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>org.openjdk.jmh</groupId>
34             <artifactId>jmh-core</artifactId>
35             <version>1.23</version>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.mdsal</groupId>
39             <artifactId>mdsal-dom-inmemory-datastore</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.mdsal</groupId>
43             <artifactId>mdsal-dom-broker</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.yangtools</groupId>
47             <artifactId>yang-test-util</artifactId>
48             <scope>compile</scope>
49         </dependency>
50     </dependencies>
51
52     <build>
53         <plugins>
54             <plugin>
55                 <artifactId>maven-compiler-plugin</artifactId>
56                 <configuration>
57                     <annotationProcessorPaths>
58                         <dependency>
59                             <groupId>org.openjdk.jmh</groupId>
60                             <artifactId>jmh-generator-annprocess</artifactId>
61                             <version>1.23</version>
62                         </dependency>
63                     </annotationProcessorPaths>
64                 </configuration>
65             </plugin>
66         </plugins>
67     </build>
68
69     <profiles>
70         <profile>
71             <id>benchmarks</id>
72             <build>
73                 <plugins>
74                     <plugin>
75                         <groupId>org.codehaus.mojo</groupId>
76                         <artifactId>exec-maven-plugin</artifactId>
77                         <executions>
78                             <execution>
79                                 <id>run-benchmarks</id>
80                                 <phase>integration-test</phase>
81                                 <goals>
82                                     <goal>exec</goal>
83                                 </goals>
84                                 <configuration>
85                                     <classpathScope>test</classpathScope>
86                                     <executable>java</executable>
87                                     <arguments>
88                                         <argument>-classpath</argument>
89                                         <classpath />
90                                         <argument>org.openjdk.jmh.Main</argument>
91                                         <argument>.*</argument>
92                                     </arguments>
93                                 </configuration>
94                             </execution>
95                         </executions>
96                     </plugin>
97                 </plugins>
98             </build>
99         </profile>
100     </profiles>
101 </project>