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.19.04-RC2</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.6</commons-csv.version>
37 <honeycomb.version>1.19.04-RC2</honeycomb.version>
38 <maven.groovy.version>1.6.2</maven.groovy.version>
39 <groovy.version>2.5.5</groovy.version>
40 <groovy.eclipse.compiler.version>3.3.0-01</groovy.eclipse.compiler.version>
41 <groovy.eclipse.batch.version>2.5.6-02</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>
79 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
84 <groupId>org.mockito</groupId>
85 <artifactId>mockito-core</artifactId>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-deploy-plugin</artifactId>
102 <!-- skips test by default but compile them -->
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-surefire-plugin</artifactId>
106 <version>2.22.0</version>
108 <skipTests>true</skipTests>
109 <!-- allow reflection for documentation -->
110 <argLine>--illegal-access=permit</argLine>
114 <!-- assemble jar with all dependencies and test classes -->
116 <artifactId>maven-assembly-plugin</artifactId>
117 <version>2.3</version>
119 <descriptor>src/main/assembly/assembly.xml</descriptor>
123 <id>make-assembly</id>
124 <phase>package</phase>
132 <!-- generate scripts for benchmarks -->
134 <groupId>org.codehaus.gmavenplus</groupId>
135 <artifactId>gmavenplus-plugin</artifactId>
137 <!-- script for on-rest memory benchmark -->
139 <id>generate-on-rest-benchmark-script</id>
140 <phase>package</phase>
144 <!-- 0 data samples == empty config file, therefore same as honeycomb on rest -->
149 import io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator
150 MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-on-rest-out", 0)
156 <!-- script for memory benchmark with 1000 nodes in config data-->
158 <id>generate-with-data-1000-benchmark-script</id>
159 <phase>package</phase>
167 import io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator
168 MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 1000)
174 <!-- script for memory benchmark with 10000 nodes in config data-->
176 <id>generate-with-data-10000-benchmark-script</id>
177 <phase>package</phase>
185 import io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator
186 MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 10000)
195 <groupId>io.fd.honeycomb.it</groupId>
196 <artifactId>benchmark-scripts</artifactId>
197 <version>1.19.04-RC2</version>