Bump odlparent to 6.0.4
[yangtools.git] / benchmarks / 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     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>odlparent</artifactId>
14         <version>6.0.4</version>
15         <relativePath/>
16     </parent>
17     <modelVersion>4.0.0</modelVersion>
18
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>benchmarks</artifactId>
21     <version>5.0.0-SNAPSHOT</version>
22
23     <properties>
24         <!-- JMH-generated code does not pass SB (very noisily)-->
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             <version>5.0.0-SNAPSHOT</version>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>yang-test-util</artifactId>
37             <version>5.0.0-SNAPSHOT</version>
38             <scope>compile</scope>
39         </dependency>
40         <dependency>
41             <groupId>org.openjdk.jmh</groupId>
42             <artifactId>jmh-core</artifactId>
43             <version>1.21</version>
44         </dependency>
45         <dependency>
46             <groupId>org.openjdk.jmh</groupId>
47             <artifactId>jmh-generator-annprocess</artifactId>
48             <version>1.21</version>
49         </dependency>
50     </dependencies>
51
52     <profiles>
53         <profile>
54             <activation>
55                 <property>
56                     <name>benchmarks</name>
57                 </property>
58             </activation>
59             <build>
60                 <plugins>
61                     <plugin>
62                         <groupId>org.codehaus.mojo</groupId>
63                         <artifactId>exec-maven-plugin</artifactId>
64                         <configuration>
65                             <classpathScope>test</classpathScope>
66                             <executable>java</executable>
67                             <arguments>
68                                 <argument>-classpath</argument>
69                                 <classpath/>
70                                 <argument>org.openjdk.jmh.Main</argument>
71                                 <argument>.*</argument>
72                             </arguments>
73                         </configuration>
74                         <executions>
75                             <execution>
76                                 <id>run-benchmarks</id>
77                                 <phase>integration-test</phase>
78                                 <goals>
79                                     <goal>exec</goal>
80                                 </goals>
81                             </execution>
82                         </executions>
83                     </plugin>
84                 </plugins>
85             </build>
86         </profile>
87     </profiles>
88 </project>