Release Beryllium
[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.8.0-Beryllium</version>
17         <relativePath>../common/parent</relativePath>
18     </parent>
19     <modelVersion>4.0.0</modelVersion>
20
21     <artifactId>benchmarks</artifactId>
22
23     <properties>
24         <yangtools.version>0.8.0-Beryllium</yangtools.version>
25         <yang.maven.plugin.version>0.8.0-Beryllium</yang.maven.plugin.version>
26         <java.source.version>1.7</java.source.version>
27         <java.target.version>1.7</java.target.version>
28         <jmh.version>0.9.7</jmh.version>
29     </properties>
30
31     <dependencies>
32         <dependency>
33             <groupId>${project.groupId}</groupId>
34             <artifactId>yang-data-impl</artifactId>
35             <version>${yangtools.version}</version>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>yang-parser-impl</artifactId>
40             <version>${yangtools.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>org.openjdk.jmh</groupId>
44             <artifactId>jmh-core</artifactId>
45             <version>${jmh.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.openjdk.jmh</groupId>
49             <artifactId>jmh-generator-annprocess</artifactId>
50             <version>${jmh.version}</version>
51         </dependency>
52     </dependencies>
53
54     <build>
55         <plugins>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-compiler-plugin</artifactId>
59                 <configuration>
60                     <source>${java.source.version}</source>
61                     <target>${java.source.version}</target>
62                 </configuration>
63             </plugin>
64             <plugin>
65                 <groupId>org.codehaus.mojo</groupId>
66                 <artifactId>exec-maven-plugin</artifactId>
67                 <configuration>
68                     <classpathScope>test</classpathScope>
69                     <executable>java</executable>
70                     <arguments>
71                         <argument>-classpath</argument>
72                         <classpath/>
73                         <argument>org.openjdk.jmh.Main</argument>
74                         <argument>.*</argument>
75                     </arguments>
76                 </configuration>
77                 <executions>
78                     <execution>
79                         <id>run-benchmarks</id>
80                         <phase>integration-test</phase>
81                         <goals>
82                             <goal>exec</goal>
83                         </goals>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89
90   <!--
91       Maven Site Configuration
92
93       The following configuration is necessary for maven-site-plugin to
94       correctly identify the correct deployment path for OpenDaylight Maven
95       sites.
96   -->
97   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
98
99   <distributionManagement>
100     <site>
101       <id>opendaylight-site</id>
102       <url>${nexus.site.url}/${project.artifactId}/</url>
103     </site>
104   </distributionManagement>
105 </project>