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.17.10-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 <!-- Static version, we don't want it to be deployed anyway-->
33 <version>1.0.0</version>
35 <commons-csv.version>1.4</commons-csv.version>
36 <honeycomb.version>1.17.10-RC2</honeycomb.version>
37 <maven.groovy.version>2.0</maven.groovy.version>
38 <groovy.version>2.4.7</groovy.version>
39 <groovy.eclipse.compiler.version>2.9.2-01</groovy.eclipse.compiler.version>
40 <groovy.eclipse.batch.version>2.4.3-01</groovy.eclipse.batch.version>
42 <!-- to be runnable from command line -->
43 <packaging>jar</packaging>
47 <groupId>io.fd.honeycomb.it</groupId>
48 <artifactId>memory-benchmark-api</artifactId>
49 <version>${honeycomb.version}</version>
53 <groupId>io.fd.honeycomb</groupId>
54 <artifactId>minimal-distribution</artifactId>
55 <version>${honeycomb.version}</version>
59 <groupId>io.fd.honeycomb.it</groupId>
60 <artifactId>management</artifactId>
61 <version>${honeycomb.version}</version>
65 <groupId>org.apache.commons</groupId>
66 <artifactId>commons-csv</artifactId>
67 <version>${commons-csv.version}</version>
71 <groupId>org.codehaus.groovy</groupId>
72 <artifactId>groovy-all</artifactId>
73 <version>${groovy.version}</version>
77 <groupId>junit</groupId>
78 <artifactId>junit</artifactId>
82 <groupId>org.mockito</groupId>
83 <artifactId>mockito-core</artifactId>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-deploy-plugin</artifactId>
100 <!-- skips test by default but compile them -->
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-surefire-plugin</artifactId>
104 <version>2.19.1</version>
106 <skipTests>true</skipTests>
110 <!-- assemble jar with all dependencies and test classes -->
112 <artifactId>maven-assembly-plugin</artifactId>
113 <version>2.3</version>
115 <descriptor>src/main/assembly/assembly.xml</descriptor>
119 <id>make-assembly</id>
120 <phase>package</phase>
128 <!-- generate scripts for benchmarks -->
130 <groupId>org.codehaus.gmaven</groupId>
131 <artifactId>groovy-maven-plugin</artifactId>
133 <!-- script for on-rest memory benchmark -->
135 <id>generate-on-rest-benchmark-script</id>
136 <phase>package</phase>
140 <!-- 0 data samples == empty config file, therefore same as honeycomb on rest -->
143 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-on-rest-out", 0)
147 <!-- script for memory benchmark with 1000 nodes in config data-->
149 <id>generate-with-data-1000-benchmark-script</id>
150 <phase>package</phase>
156 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 1000)
160 <!-- script for memory benchmark with 10000 nodes in config data-->
162 <id>generate-with-data-10000-benchmark-script</id>
163 <phase>package</phase>
169 io.fd.honeycomb.benchmark.script.MemoryBenchmarkStartupScriptGenerator.generateWithDataScript(project, log, "memory-benchmark-with-data-out", 10000)
176 <groupId>io.fd.honeycomb.it</groupId>
177 <artifactId>benchmark-scripts</artifactId>
178 <version>1.17.10-RC2</version>