Bump versions to 2.0.24-SNAPSHOT
[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>3.1.9</version>
15         <relativePath/>
16     </parent>
17     <modelVersion>4.0.0</modelVersion>
18
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>benchmarks</artifactId>
21     <version>2.0.24-SNAPSHOT</version>
22
23     <dependencies>
24         <dependency>
25             <groupId>${project.groupId}</groupId>
26             <artifactId>yang-data-impl</artifactId>
27             <version>2.0.24-SNAPSHOT</version>
28         </dependency>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>yang-test-util</artifactId>
32             <version>2.0.24-SNAPSHOT</version>
33             <scope>compile</scope>
34         </dependency>
35         <dependency>
36             <groupId>org.openjdk.jmh</groupId>
37             <artifactId>jmh-core</artifactId>
38             <version>1.21</version>
39         </dependency>
40         <dependency>
41             <groupId>org.openjdk.jmh</groupId>
42             <artifactId>jmh-generator-annprocess</artifactId>
43             <version>1.21</version>
44         </dependency>
45     </dependencies>
46
47     <profiles>
48         <profile>
49             <activation>
50                 <property>
51                     <name>benchmarks</name>
52                 </property>
53             </activation>
54             <build>
55                 <plugins>
56                     <plugin>
57                         <groupId>org.codehaus.mojo</groupId>
58                         <artifactId>exec-maven-plugin</artifactId>
59                         <configuration>
60                             <classpathScope>test</classpathScope>
61                             <executable>java</executable>
62                             <arguments>
63                                 <argument>-classpath</argument>
64                                 <classpath/>
65                                 <argument>org.openjdk.jmh.Main</argument>
66                                 <argument>.*</argument>
67                             </arguments>
68                         </configuration>
69                         <executions>
70                             <execution>
71                                 <id>run-benchmarks</id>
72                                 <phase>integration-test</phase>
73                                 <goals>
74                                     <goal>exec</goal>
75                                 </goals>
76                             </execution>
77                         </executions>
78                     </plugin>
79                 </plugins>
80             </build>
81         </profile>
82     </profiles>
83 </project>