1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2024 PANTHEON.tech s.r.o. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.controller</groupId>
15 <artifactId>mdsal-parent</artifactId>
16 <version>9.0.3-SNAPSHOT</version>
17 <relativePath>../../opendaylight/md-sal/parent</relativePath>
20 <artifactId>segjournal-benchmark</artifactId>
21 <packaging>jar</packaging>
24 <maven.javadoc.skip>true</maven.javadoc.skip>
25 <maven.deploy.skip>true</maven.deploy.skip>
26 <maven.install.skip>true</maven.install.skip>
31 <groupId>com.github.spotbugs</groupId>
32 <artifactId>spotbugs-annotations</artifactId>
33 <optional>true</optional>
36 <groupId>org.eclipse.jdt</groupId>
37 <artifactId>org.eclipse.jdt.annotation</artifactId>
40 <groupId>net.sourceforge.argparse4j</groupId>
41 <artifactId>argparse4j</artifactId>
44 <groupId>org.slf4j</groupId>
45 <artifactId>slf4j-api</artifactId>
48 <groupId>ch.qos.logback</groupId>
49 <artifactId>logback-classic</artifactId>
50 <scope>compile</scope>
53 <groupId>commons-io</groupId>
54 <artifactId>commons-io</artifactId>
57 <groupId>io.dropwizard.metrics</groupId>
58 <artifactId>metrics-core</artifactId>
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>repackaged-akka</artifactId>
65 <groupId>org.opendaylight.controller</groupId>
66 <artifactId>sal-clustering-commons</artifactId>
69 <groupId>org.opendaylight.controller</groupId>
70 <artifactId>atomix-storage</artifactId>
73 <groupId>org.opendaylight.controller</groupId>
74 <artifactId>sal-akka-segmented-journal</artifactId>
77 <groupId>org.opendaylight.controller</groupId>
78 <artifactId>sal-clustering-config</artifactId>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-shade-plugin</artifactId>
88 <createDependencyReducedPom>false</createDependencyReducedPom>
92 <phase>package</phase>
97 <shadedArtifactAttached>true</shadedArtifactAttached>
98 <shadedClassifierName>executable</shadedClassifierName>
101 <artifact>*:*</artifact>
102 <!-- causing SecurityException -->
104 <exclude>META-INF/*.SF</exclude>
105 <exclude>META-INF/*.DSA</exclude>
106 <exclude>META-INF/*.RSA</exclude>
111 <transformer implementation= "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
112 <mainClass>org.opendaylight.controller.akka.segjournal.BenchmarkMain</mainClass>
128 <groupId>org.codehaus.mojo</groupId>
129 <artifactId>exec-maven-plugin</artifactId>
130 <version>3.1.1</version>
133 <id>execute-segmented-journal-benchmark</id>
134 <phase>integration-test</phase>
141 <executable>java</executable>
142 <useMavenLogger>true</useMavenLogger>
144 <argument>-classpath</argument>
145 <!-- includes all dependencies to class path -->
147 <argument>org.opendaylight.controller.akka.segjournal.BenchmarkMain</argument>
148 <!-- configuration taken from factory-akka.conf of sal-clustering-config -->
149 <argument>--current</argument>
150 <!-- 100_000 messages to write -->
151 <argument>-n100000</argument>
152 <!-- message payload is 100K -->
153 <argument>-p100K</argument>