mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
update package phase for nb to include appimage in order
This commit is contained in:
parent
f1ca10eb2c
commit
67761f6018
@ -1,92 +1,90 @@
|
||||
<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>
|
||||
<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>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
<relativePath>../mvn-defaults</relativePath>
|
||||
</parent>
|
||||
<parent>
|
||||
<artifactId>mvn-defaults</artifactId>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
<relativePath>../mvn-defaults</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>engine-docs</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>CLI for nosqlbench.</description>
|
||||
<artifactId>engine-docs</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>CLI for nosqlbench.</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<javadoc.name>nosqlbench Docs</javadoc.name>
|
||||
</properties>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<javadoc.name>nosqlbench Docs</javadoc.name>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependencies>
|
||||
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>io.nosqlbench</groupId>-->
|
||||
<!-- <artifactId>engine-vis</artifactId>-->
|
||||
<!-- <version>2.11.31-SNAPSHOT</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>io.nosqlbench</groupId>-->
|
||||
<!-- <artifactId>engine-vis</artifactId>-->
|
||||
<!-- <version>2.11.31-SNAPSHOT</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>virtdata-docsys</artifactId>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>virtdata-docsys</artifactId>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>virtdata-docsys</artifactId>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>shade</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<transformers combine.children="append">
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>io.nosqlbench.cli.EBCLI</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>shade</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<transformers combine.children="append">
|
||||
<transformer
|
||||
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>io.nosqlbench.cli.EBCLI</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
|
||||
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
|
||||
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
|
||||
</project>
|
||||
|
116
nb/pom.xml
116
nb/pom.xml
@ -125,8 +125,6 @@
|
||||
<version>3.2.0-rc1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -136,6 +134,56 @@
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>shade-nb-jar</id>
|
||||
<phase>package</phase>
|
||||
<goals><goal>shade</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<transformers combine.children="append">
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>io.nosqlbench.engine.cli.NBCLI</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-nb-appimage</id>
|
||||
<phase>package</phase>
|
||||
<goals><goal>exec</goal></goals>
|
||||
<configuration>
|
||||
<basedir>${project.basedir}/appimage</basedir>
|
||||
<executable>${project.basedir}/appimage/build</executable>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
@ -165,70 +213,6 @@
|
||||
</profile>
|
||||
|
||||
|
||||
<profile>
|
||||
<id>shade</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<transformers combine.children="append">
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>io.nosqlbench.engine.cli.NBCLI</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
|
||||
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
|
||||
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>appimage</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-nb-appimage</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<goals><goal>exec</goal></goals>
|
||||
<configuration>
|
||||
<basedir>${project.basedir}/appimage</basedir>
|
||||
<executable>${project.basedir}/appimage/build</executable>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
|
||||
|
169
pom.xml
169
pom.xml
@ -1,4 +1,6 @@
|
||||
<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">
|
||||
<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>
|
||||
|
||||
<artifactId>nosqlbench</artifactId>
|
||||
@ -21,104 +23,45 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>coremodules</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<modules>
|
||||
<modules>
|
||||
|
||||
<!-- COMMON MODULES -->
|
||||
<!-- Holds project level defaults -->
|
||||
<module>mvn-defaults</module>
|
||||
<module>docsys</module>
|
||||
<!-- project level defaults -->
|
||||
<module>mvn-defaults</module>
|
||||
<!-- web apps and service hooks -->
|
||||
<module>docsys</module>
|
||||
|
||||
<!-- ENGINE MODULES -->
|
||||
<!-- Holds only docs for nb -->
|
||||
<module>engine-docs</module>
|
||||
<!-- ENGINE MODULES -->
|
||||
<module>engine-api</module>
|
||||
<module>engine-core</module>
|
||||
<module>engine-cli</module>
|
||||
<module>engine-extensions</module>
|
||||
<module>engine-docker</module>
|
||||
<module>engine-docs</module>
|
||||
|
||||
<!-- APIs needed to implement various types -->
|
||||
<module>engine-api</module>
|
||||
<!-- a binary (appimage) build option for nb -->
|
||||
<module>nb</module>
|
||||
<module>activitytype-diag</module>
|
||||
<module>activitytype-stdout</module>
|
||||
<module>activitytype-tcp</module>
|
||||
<module>activitytype-http</module>
|
||||
<module>activitytype-cql</module>
|
||||
<module>activitytype-cqlverify</module>
|
||||
|
||||
<!-- Scripting harness and executive logic -->
|
||||
<module>engine-core</module>
|
||||
<!-- VIRTDATA MODULES -->
|
||||
|
||||
<!-- restful server for NB runtime -->
|
||||
<module>engine-cli</module>
|
||||
<module>virtdata-annotations</module>
|
||||
<module>virtdata-processors</module>
|
||||
<module>virtdata-lang</module>
|
||||
<module>virtdata-api</module>
|
||||
<module>virtdata-realdata</module>
|
||||
<module>virtdata-lib-basics</module>
|
||||
<module>virtdata-lib-random</module>
|
||||
<module>virtdata-lib-curves4</module>
|
||||
<module>virtdata-lib-realer</module>
|
||||
|
||||
<!-- scripting sandbox extensions for NB -->
|
||||
<module>engine-extensions</module>
|
||||
|
||||
<!-- local docker automation -->
|
||||
<module>engine-docker</module>
|
||||
|
||||
<!-- a binary (appimage) build option for nb -->
|
||||
<module>nb</module>
|
||||
|
||||
|
||||
<!-- ActivityType driver for diagnostics, file, etc -->
|
||||
<module>activitytype-diag</module>
|
||||
|
||||
<!-- activity type that prints to stdout -->
|
||||
<module>activitytype-stdout</module>
|
||||
|
||||
<!-- A TCP enabled version of stdout, client and server -->
|
||||
<module>activitytype-tcp</module>
|
||||
|
||||
<!-- An HTTP activity type -->
|
||||
<module>activitytype-http</module>
|
||||
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>cqlmodules</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>activitytype-cql</module>
|
||||
<module>activitytype-cqlverify</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>virtdatamodules</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<modules>
|
||||
|
||||
<!-- COMMON MODULES -->
|
||||
|
||||
<!-- Holds project level defaults -->
|
||||
<module>mvn-defaults</module>
|
||||
<module>docsys</module>
|
||||
|
||||
<!-- VIRTDATA MODULES -->
|
||||
|
||||
<!-- API assembly -->
|
||||
<module>virtdata-annotations</module>
|
||||
<module>virtdata-processors</module>
|
||||
<module>virtdata-lang</module>
|
||||
<module>virtdata-api</module>
|
||||
|
||||
<!-- libraries -->
|
||||
<module>virtdata-realdata</module>
|
||||
<module>virtdata-lib-basics</module>
|
||||
<module>virtdata-lib-random</module>
|
||||
<module>virtdata-lib-curves4</module>
|
||||
<module>virtdata-lib-realer</module>
|
||||
|
||||
<module>virtdata-userlibs</module>
|
||||
|
||||
</modules>
|
||||
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
<module>virtdata-userlibs</module>
|
||||
|
||||
</modules>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
@ -140,48 +83,6 @@
|
||||
<autoVersionSubmodules>true</autoVersionSubmodules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- <plugin>-->
|
||||
<!-- <groupId>org.codehaus.mojo</groupId>-->
|
||||
<!-- <artifactId>exec-maven-plugin</artifactId>-->
|
||||
<!-- <version>1.6.0</version>-->
|
||||
<!-- <executions>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <id>wrap-nb</id>-->
|
||||
<!-- <phase>package</phase>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>exec</goal>-->
|
||||
<!-- </goals>-->
|
||||
<!-- <configuration>-->
|
||||
<!-- <executable>${project.basedir}/wrap_nb-->
|
||||
<!-- .sh</executable>-->
|
||||
<!-- </configuration>-->
|
||||
<!-- </execution>-->
|
||||
<!-- <!–<execution>–>-->
|
||||
<!-- <!–<id>find-help-topics</id>–>-->
|
||||
<!-- <!–<phase>prepare-package</phase>–>-->
|
||||
<!-- <!–<goals>–>-->
|
||||
<!-- <!–<goal>exec</goal>–>-->
|
||||
<!-- <!–</goals>–>-->
|
||||
<!-- <!–<configuration>–>-->
|
||||
<!-- <!–<executable>${project.basedir}/find_help_topics.sh}</executable>–>-->
|
||||
<!-- <!–</configuration>–>-->
|
||||
<!-- <!–</execution>–>-->
|
||||
|
||||
<!-- <!–<execution>–>-->
|
||||
<!-- <!–<id>publish-eb</id>–>-->
|
||||
<!-- <!–<phase>deploy</phase>–>-->
|
||||
<!-- <!–<goals>–>-->
|
||||
<!-- <!–<goal>exec</goal>–>-->
|
||||
<!-- <!–</goals>–>-->
|
||||
<!-- <!–<configuration>–>-->
|
||||
<!-- <!–<executable>${project.basedir}/publish.sh</executable>–>-->
|
||||
<!-- <!–</configuration>–>-->
|
||||
<!-- <!–</execution>–>-->
|
||||
|
||||
<!-- </executions>-->
|
||||
<!-- </plugin>-->
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -75,12 +75,6 @@
|
||||
<version>1.0.0m1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>virtdata-docsys</artifactId>
|
||||
<version>3.12.2-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
Loading…
Reference in New Issue
Block a user