1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright (c) 2016 Cisco and/or its affiliates.
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:
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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.
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 set as common script to use all groovy dependency versions, etc-->
23 <groupId>io.fd.honeycomb.common</groupId>
24 <artifactId>honeycomb-parent</artifactId>
25 <version>1.18.10-RC1</version>
26 <relativePath>../../../common/honeycomb-parent</relativePath>
28 <modelVersion>4.0.0</modelVersion>
30 <groupId>io.fd.honeycomb.it</groupId>
31 <artifactId>memory-benchmark</artifactId>
32 <name>${project.artifactId}</name>
33 <!-- Static version, we don't want it to be deployed anyway-->
34 <version>1.0.0</version>
36 <commons-csv.version>1.4</commons-csv.version>
37 <honeycomb.version>1.18.10-RC1</honeycomb.version>
38 <maven.groovy.version>2.0</maven.groovy.version>
39 <groovy.version>2.4.7</groovy.version>
40 <groovy.eclipse.compiler.version>2.9.2-01</groovy.eclipse.compiler.version>
41 <groovy.eclipse.batch.version>2.4.3-01</groovy.eclipse.batch.version>
43 <!-- to be runnable from command line -->
44 <packaging>jar</packaging>
48 <groupId>io.fd.honeycomb.it</groupId>
49 <artifactId>memory-benchmark-api</artifactId>
50 <version>${honeycomb.version}</version>
54 <groupId>io.fd.honeycomb</groupId>
55 <artifactId>minimal-distribution</artifactId>
56 <version>${honeycomb.version}</version>
60 <groupId>io.fd.honeycomb.it</groupId>
61 <artifactId>management</artifactId>
62 <version>${honeycomb.version}</version>
66 <groupId>org.apache.commons</groupId>
67 <artifactId>commons-csv</artifactId>
68 <version>${commons-csv.version}</version>
72 <groupId>org.codehaus.groovy</groupId>
73 <artifactId>groovy-all</artifactId>
74 <version>${groovy.version}</version>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
83 <groupId>org.mockito</groupId>
84 <artifactId>mockito-core</artifactId>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-deploy-plugin</artifactId>
101 <!-- skips test by default but compile them -->
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-surefire-plugin</artifactId>
105 <version>2.19.1</version>
107 <skipTests>true</skipTests>
111 <!-- assemble jar with all dependencies and test classes -->
113 <artifactId>maven-assembly-plugin</artifactId>
114 <version>2.3</version>
116 <descriptor>src/main/assembly/assembly.xml</descriptor>
120 <id>make-assembly</id>
121 <phase>package</phase>
129 <!-- generate scripts for benchmarks -->
131 <groupId>org.codehaus.gmaven</groupId>
132 <artifactId>groovy-maven-plugin</artifactId>
134 <!-- script for on-rest memory benchmark -->
136 <id>generate-on-rest-benchmark-script</id>
137 <phase>package</phase>
141 <!-- 0 data samples == empty config file, therefore same as honeycomb on rest -->
144 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-on-rest-out", 0)
148 <!-- script for memory benchmark with 1000 nodes in config data-->
150 <id>generate-with-data-1000-benchmark-script</id>
151 <phase>package</phase>
157 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 1000)
161 <!-- script for memory benchmark with 10000 nodes in config data-->
163 <id>generate-with-data-10000-benchmark-script</id>
164 <phase>package</phase>
170 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 10000)
177 <groupId>io.fd.honeycomb.it</groupId>
178 <artifactId>benchmark-scripts</artifactId>
179 <version>1.18.10-RC1</version>