pom.xml revision f9acfac8
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.01-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.01-SNAPSHOT</version>
32    <name>${project.artifactId}</name>
33
34    <properties>
35        <jmh.version>1.21</jmh.version>
36        <jvpp.version>19.01-SNAPSHOT</jvpp.version>
37    </properties>
38
39    <dependencies>
40        <dependency>
41            <groupId>org.openjdk.jmh</groupId>
42            <artifactId>jmh-core</artifactId>
43            <version>${jmh.version}</version>
44        </dependency>
45        <dependency>
46            <groupId>org.openjdk.jmh</groupId>
47            <artifactId>jmh-generator-annprocess</artifactId>
48            <version>${jmh.version}</version>
49            <scope>provided</scope>
50        </dependency>
51        <dependency>
52            <groupId>org.slf4j</groupId>
53            <artifactId>slf4j-api</artifactId>
54        </dependency>
55        <dependency>
56            <groupId>com.google.guava</groupId>
57            <artifactId>guava</artifactId>
58        </dependency>
59
60        <dependency>
61            <groupId>io.fd.vpp</groupId>
62            <artifactId>jvpp-registry</artifactId>
63            <version>${jvpp.version}</version>
64        </dependency>
65        <dependency>
66            <groupId>io.fd.vpp</groupId>
67            <artifactId>jvpp-core</artifactId>
68            <version>${jvpp.version}</version>
69        </dependency>
70        <dependency>
71            <groupId>io.fd.vpp</groupId>
72            <artifactId>jvpp-acl</artifactId>
73            <version>${jvpp.version}</version>
74        </dependency>
75        <dependency>
76            <groupId>junit</groupId>
77            <artifactId>junit</artifactId>
78            <scope>test</scope>
79        </dependency>
80    </dependencies>
81
82    <build>
83        <plugins>
84            <plugin>
85                <groupId>org.apache.maven.plugins</groupId>
86                <artifactId>maven-shade-plugin</artifactId>
87                <version>3.1.1</version>
88                <executions>
89                    <execution>
90                        <phase>package</phase>
91                        <goals>
92                            <goal>shade</goal>
93                        </goals>
94                        <configuration>
95                            <transformers>
96                                <transformer
97                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
98                                    <mainClass>org.openjdk.jmh.Main</mainClass>
99                                </transformer>
100                            </transformers>
101                            <shadedArtifactAttached>true</shadedArtifactAttached>
102                            <shadedClassifierName>executable</shadedClassifierName>
103                        </configuration>
104                    </execution>
105                </executions>
106            </plugin>
107        </plugins>
108    </build>
109
110</project>
111