pom.xml revision e0a2498c
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright (c) 2017 Cisco and/or its affiliates.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at:
8  ~
9  ~     http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21    <parent>
22        <groupId>io.fd.hc2vpp.common</groupId>
23        <artifactId>hc2vpp-parent</artifactId>
24        <version>1.19.08-SNAPSHOT</version>
25        <relativePath>../../common/hc2vpp-parent</relativePath>
26    </parent>
27    <modelVersion>4.0.0</modelVersion>
28
29    <groupId>io.fd.hc2vpp.it</groupId>
30    <artifactId>jvpp-benchmark</artifactId>
31    <version>1.19.08-SNAPSHOT</version>
32    <name>${project.artifactId}</name>
33
34    <properties>
35        <jmh.version>1.21</jmh.version>
36    </properties>
37
38    <dependencies>
39        <dependency>
40            <groupId>org.openjdk.jmh</groupId>
41            <artifactId>jmh-core</artifactId>
42            <version>${jmh.version}</version>
43        </dependency>
44        <dependency>
45            <groupId>org.openjdk.jmh</groupId>
46            <artifactId>jmh-generator-annprocess</artifactId>
47            <version>${jmh.version}</version>
48            <scope>provided</scope>
49        </dependency>
50        <dependency>
51            <groupId>org.slf4j</groupId>
52            <artifactId>slf4j-api</artifactId>
53        </dependency>
54        <dependency>
55            <groupId>com.google.guava</groupId>
56            <artifactId>guava</artifactId>
57        </dependency>
58
59        <dependency>
60            <groupId>io.fd.jvpp</groupId>
61            <artifactId>jvpp-registry</artifactId>
62            <version>${jvpp.version}</version>
63        </dependency>
64        <dependency>
65            <groupId>io.fd.jvpp</groupId>
66            <artifactId>jvpp-core</artifactId>
67            <version>${jvpp.version}</version>
68        </dependency>
69        <dependency>
70            <groupId>io.fd.jvpp</groupId>
71            <artifactId>jvpp-acl</artifactId>
72            <version>${jvpp.version}</version>
73        </dependency>
74        <dependency>
75            <groupId>junit</groupId>
76            <artifactId>junit</artifactId>
77            <scope>test</scope>
78        </dependency>
79    </dependencies>
80
81    <build>
82        <plugins>
83            <plugin>
84                <groupId>org.apache.maven.plugins</groupId>
85                <artifactId>maven-shade-plugin</artifactId>
86                <version>3.1.1</version>
87                <executions>
88                    <execution>
89                        <phase>package</phase>
90                        <goals>
91                            <goal>shade</goal>
92                        </goals>
93                        <configuration>
94                            <transformers>
95                                <transformer
96                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
97                                    <mainClass>org.openjdk.jmh.Main</mainClass>
98                                </transformer>
99                            </transformers>
100                            <shadedArtifactAttached>true</shadedArtifactAttached>
101                            <shadedClassifierName>executable</shadedClassifierName>
102                        </configuration>
103                    </execution>
104                </executions>
105            </plugin>
106        </plugins>
107    </build>
108
109</project>
110