nosqlbench/nb5/pom.xml

180 lines
6.4 KiB
XML
Raw Permalink Normal View History

2024-05-10 20:01:33 -05:00
<!--
~ Copyright (c) 2022-2023 nosqlbench
2022-06-16 13:58:53 -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.
-->
<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">
2022-06-16 13:58:53 -05:00
<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>
2022-06-16 13:58:53 -05:00
<relativePath>../mvn-defaults</relativePath>
</parent>
<artifactId>nb5</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>A binary and jar for nb5, with only nb5 updated drivers included.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2024-04-11 22:50:13 -05:00
<javadoc.name>nb5</javadoc.name>
2022-06-16 13:58:53 -05:00
</properties>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>nbr</artifactId>
2023-01-19 16:53:33 -06:00
<version>${revision}</version>
2022-06-16 13:58:53 -05:00
</dependency>
2024-04-04 18:48:19 -05:00
<dependency>
<groupId>io.nosqlbench</groupId>
2024-04-11 22:50:13 -05:00
<artifactId>nb-adapters-included</artifactId>
2024-04-04 18:48:19 -05:00
<version>${revision}</version>
</dependency>
2024-04-11 22:50:13 -05:00
<!-- Everything below this line is in common between nb and nb5 -->
<!-- The nb5 modules should contain NO driver-* modules, and all adapter-* modules -->
2024-04-04 15:25:51 -05:00
2022-06-16 13:58:53 -05:00
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</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>
2024-04-11 22:50:13 -05:00
<executable>${project.basedir}/nb5-scripts/link-jar-name.sh</executable>
2022-06-16 13:58:53 -05:00
</configuration>
</execution>
</executions>
</plugin>
2024-04-11 22:50:13 -05:00
2022-06-16 13:58:53 -05:00
</plugins>
</build>
<profiles>
<profile>
2022-06-16 13:58:53 -05:00
<id>build-nb5-appimage</id>
<activation>
2022-06-16 13:58:53 -05:00
<os>
<family>unix</family>
<name>linux</name>
<arch>amd64</arch>
</os>
</activation>
2022-06-16 13:58:53 -05:00
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>build-nb5-appimage</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<basedir>${project.basedir}</basedir>
2024-04-11 22:50:13 -05:00
<executable>${project.basedir}/nb-appimage/build-bin.sh</executable>
2022-06-16 13:58:53 -05:00
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
2024-04-11 22:50:13 -05:00
<id>converge-nb5</id>
<activation>
2022-06-16 13:58:53 -05:00
<activeByDefault>false</activeByDefault>
</activation>
2022-06-16 13:58:53 -05:00
<build>
<plugins>
2024-04-11 22:50:13 -05:00
2022-06-16 13:58:53 -05:00
<plugin>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<dependencyConvergence/>
2022-06-16 13:58:53 -05:00
</rules>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2022-06-16 13:58:53 -05:00
</profiles>
2024-04-02 14:28:48 -05:00
2022-06-16 13:58:53 -05:00
</project>