Promote dom-parent to bundle-parent
[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>bundle-parent</artifactId>
15         <version>13.0.0-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>mdsal-dom-inmemory-datastore-benchmark</artifactId>
20     <packaging>jar</packaging>
21
22     <properties>
23         <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
24     </properties>
25
26     <dependencies>
27         <dependency>
28             <groupId>com.google.guava</groupId>
29             <artifactId>guava</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.yangtools</groupId>
33             <artifactId>util</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.yangtools</groupId>
37             <artifactId>yang-common</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.yangtools</groupId>
41             <artifactId>yang-data-api</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.yangtools</groupId>
45             <artifactId>yang-data-impl</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.yangtools</groupId>
49             <artifactId>yang-model-api</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.yangtools</groupId>
53             <artifactId>yang-test-util</artifactId>
54             <scope>compile</scope>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.mdsal</groupId>
58             <artifactId>mdsal-common-api</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.opendaylight.mdsal</groupId>
62             <artifactId>mdsal-dom-api</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.mdsal</groupId>
66             <artifactId>mdsal-dom-spi</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.mdsal</groupId>
70             <artifactId>mdsal-dom-broker</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.mdsal</groupId>
74             <artifactId>mdsal-dom-inmemory-datastore</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.openjdk.jmh</groupId>
78             <artifactId>jmh-core</artifactId>
79             <version>1.35</version>
80         </dependency>
81     </dependencies>
82
83     <build>
84         <plugins>
85             <plugin>
86                 <artifactId>maven-compiler-plugin</artifactId>
87                 <configuration>
88                     <annotationProcessorPaths>
89                         <dependency>
90                             <groupId>org.openjdk.jmh</groupId>
91                             <artifactId>jmh-generator-annprocess</artifactId>
92                             <version>1.35</version>
93                         </dependency>
94                     </annotationProcessorPaths>
95                 </configuration>
96             </plugin>
97         </plugins>
98     </build>
99
100     <profiles>
101         <profile>
102             <id>benchmarks</id>
103             <build>
104                 <plugins>
105                     <plugin>
106                         <groupId>org.codehaus.mojo</groupId>
107                         <artifactId>exec-maven-plugin</artifactId>
108                         <executions>
109                             <execution>
110                                 <id>run-benchmarks</id>
111                                 <phase>integration-test</phase>
112                                 <goals>
113                                     <goal>exec</goal>
114                                 </goals>
115                                 <configuration>
116                                     <classpathScope>test</classpathScope>
117                                     <executable>java</executable>
118                                     <arguments>
119                                         <argument>-classpath</argument>
120                                         <classpath />
121                                         <argument>org.openjdk.jmh.Main</argument>
122                                         <argument>.*</argument>
123                                     </arguments>
124                                 </configuration>
125                             </execution>
126                         </executions>
127                     </plugin>
128                 </plugins>
129             </build>
130         </profile>
131     </profiles>
132 </project>