Merge "Document the Path concept."
[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"
11          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13     <parent>
14         <groupId>org.opendaylight.yangtools</groupId>
15         <artifactId>yangtools-parent</artifactId>
16         <version>0.7.0-SNAPSHOT</version>
17         <relativePath>../common/parent</relativePath>
18     </parent>
19     <modelVersion>4.0.0</modelVersion>
20
21     <groupId>org.opendaylight.yangtools</groupId>
22     <artifactId>benchmarks</artifactId>
23
24     <properties>
25         <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
26         <yang.maven.plugin.version>0.7.0-SNAPSHOT</yang.maven.plugin.version>
27         <java.source.version>1.7</java.source.version>
28         <java.target.version>1.7</java.target.version>
29         <jmh.version>0.9.7</jmh.version>
30     </properties>
31
32     <dependencies>
33         <dependency>
34             <groupId>${project.groupId}</groupId>
35             <artifactId>yang-data-impl</artifactId>
36             <version>${yangtools.version}</version>
37         </dependency>
38         <dependency>
39             <groupId>${project.groupId}</groupId>
40             <artifactId>yang-parser-impl</artifactId>
41             <version>${yangtools.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>org.openjdk.jmh</groupId>
45             <artifactId>jmh-core</artifactId>
46             <version>${jmh.version}</version>
47         </dependency>
48         <dependency>
49             <groupId>org.openjdk.jmh</groupId>
50             <artifactId>jmh-generator-annprocess</artifactId>
51             <version>${jmh.version}</version>
52         </dependency>
53     </dependencies>
54
55     <build>
56         <plugins>
57             <plugin>
58                 <groupId>org.apache.maven.plugins</groupId>
59                 <artifactId>maven-compiler-plugin</artifactId>
60                 <configuration>
61                     <source>${java.source.version}</source>
62                     <target>${java.source.version}</target>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <groupId>org.codehaus.mojo</groupId>
67                 <artifactId>exec-maven-plugin</artifactId>
68                 <configuration>
69                     <classpathScope>test</classpathScope>
70                     <executable>java</executable>
71                     <arguments>
72                         <argument>-classpath</argument>
73                         <classpath/>
74                         <argument>org.openjdk.jmh.Main</argument>
75                         <argument>.*</argument>
76                     </arguments>
77                 </configuration>
78                 <executions>
79                     <execution>
80                         <id>run-benchmarks</id>
81                         <phase>integration-test</phase>
82                         <goals>
83                             <goal>exec</goal>
84                         </goals>
85                     </execution>
86                 </executions>
87             </plugin>
88         </plugins>
89     </build>
90 </project>