2022-05-31 21:02:12 -05:00
|
|
|
<!--
|
2023-01-05 14:38:06 -06:00
|
|
|
~ Copyright (c) 2022-2023 nosqlbench
|
2022-05-31 21:02:12 -05:00
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2021-08-10 14:34:53 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>mvn-defaults</artifactId>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
2023-01-19 16:53:33 -06:00
|
|
|
<version>${revision}</version>
|
2021-08-10 14:34:53 -05:00
|
|
|
<relativePath>../mvn-defaults</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>nbr</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>${project.artifactId}</name>
|
2022-05-31 21:01:46 -05:00
|
|
|
<description>Runtime-Only CLI for nosqlbench</description>
|
2021-08-10 14:34:53 -05:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<javadoc.name>nosqlbench Command Line</javadoc.name>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
|
|
|
<artifactId>engine-cli</artifactId>
|
2023-01-19 16:53:33 -06:00
|
|
|
<version>${revision}</version>
|
2021-08-10 14:34:53 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
|
|
|
<artifactId>engine-core</artifactId>
|
2023-01-19 16:53:33 -06:00
|
|
|
<version>${revision}</version>
|
2021-08-10 14:34:53 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
|
|
|
<artifactId>engine-extensions</artifactId>
|
2023-01-19 16:53:33 -06:00
|
|
|
<version>${revision}</version>
|
2021-08-10 14:34:53 -05:00
|
|
|
</dependency>
|
|
|
|
|
2022-05-31 21:01:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
|
|
|
<artifactId>adapter-diag</artifactId>
|
2023-01-19 16:53:33 -06:00
|
|
|
<version>${revision}</version>
|
2022-05-31 21:01:46 -05:00
|
|
|
</dependency>
|
2022-12-19 12:24:40 -06:00
|
|
|
|
2023-01-23 13:02:19 -06:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.nosqlbench</groupId>
|
|
|
|
<artifactId>engine-clients</artifactId>
|
2023-01-23 15:53:56 -06:00
|
|
|
<version>${revision}</version>
|
2023-01-23 13:02:19 -06:00
|
|
|
</dependency>
|
|
|
|
|
2021-08-10 14:34:53 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
2023-01-13 11:57:08 -06:00
|
|
|
<includes>
|
|
|
|
<include>version.properties</include>
|
|
|
|
<include>nb_version_info.md</include>
|
2023-02-06 00:19:57 -06:00
|
|
|
<include>log4j2.xml</include>
|
2023-01-13 11:57:08 -06:00
|
|
|
</includes>
|
2021-08-10 14:34:53 -05:00
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
2023-02-06 00:19:57 -06:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
2023-02-06 01:04:55 -06:00
|
|
|
<include>examples/**</include>
|
|
|
|
<include>scripts/**</include>
|
|
|
|
<include>**/*.md</include>
|
2023-02-06 00:19:57 -06:00
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
2021-08-10 14:34:53 -05:00
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>io.nosqlbench.engine.cli.NBCLI</mainClass>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<Multi-Release>true</Multi-Release>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>assemble-nb</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>link-nb-jar-name</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
|
|
|
<NBJAR_VERSION>${project.version}</NBJAR_VERSION>
|
|
|
|
</environmentVariables>
|
|
|
|
<basedir>${project.basedir}</basedir>
|
|
|
|
<executable>${project.basedir}/nbr-scripts/link-jar-name.sh</executable>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
2023-02-10 11:46:47 -06:00
|
|
|
<id>build-nbr-appimage</id>
|
2021-08-10 14:34:53 -05:00
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>unix</family>
|
|
|
|
<name>linux</name>
|
|
|
|
<arch>amd64</arch>
|
|
|
|
</os>
|
2023-02-10 11:46:47 -06:00
|
|
|
<activeByDefault>false</activeByDefault>
|
2021-08-10 14:34:53 -05:00
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-nbr-appimage</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<basedir>${project.basedir}</basedir>
|
|
|
|
<executable>${project.basedir}/build-bin-nbr.sh</executable>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>enforce</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<dependencyConvergence />
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|