support optional build of adapters

This commit is contained in:
Jonathan Shook 2024-04-02 14:28:48 -05:00
parent 71a0ae1d93
commit 0edd8d0886
2 changed files with 432 additions and 68 deletions

View File

@ -67,61 +67,56 @@
<version>${revision}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-dynamodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-http</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-tcp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-pulsar</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-kafka</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-amqp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-jdbc</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-mongodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-aws-opensearch</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-cqld4</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-s4j</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-dynamodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-http</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-tcp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-pulsar</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-kafka</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-amqp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-jdbc</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-mongodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-aws-opensearch</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-s4j</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
</dependencies>
@ -246,5 +241,242 @@
</plugins>
</build>
</profile>
<profile>
<id>build-adapter-cqld4</id>
<activation>
<property>
<name>build-adapter-cqld4</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-cqld4</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-milvus</id>
<activation>
<property>
<name>adapter-milvus</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-milvus</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-dynamodb</id>
<activation>
<property>
<name>adapter-dynamodb</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-dynamodb</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-http</id>
<activation>
<property>
<name>adapter-http</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-http</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-tcp</id>
<activation>
<property>
<name>adapter-tcp</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-tcp</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-pulsar</id>
<activation>
<property>
<name>adapter-pulsar</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-pulsar</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-kafka</id>
<activation>
<property>
<name>adapter-kafka</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-kafka</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-amqp</id>
<activation>
<property>
<name>adapter-amqp</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-amqp</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-jdbc</id>
<activation>
<property>
<name>adapter-jdbc</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-jdbc</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-mongodb</id>
<activation>
<property>
<name>adapter-mongodb</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-mongodb</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-aws-opensearch</id>
<activation>
<property>
<name>adapter-aws-opensearch</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-aws-opensearch</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>build-adapter-s4j</id>
<activation>
<property>
<name>adapter-s4j</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-s4j</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-dynamodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-http</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-tcp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-pulsar</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-kafka</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-amqp</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-jdbc</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-mongodb</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-aws-opensearch</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>io.nosqlbench</groupId>-->
<!-- <artifactId>adapter-s4j</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
</profiles>
</project>

158
pom.xml
View File

@ -59,19 +59,6 @@
<module>adapter-diag</module>
<module>adapter-stdout</module>
<module>adapter-milvus</module>
<!-- <module>adapter-dynamodb</module>-->
<!-- <module>adapter-http</module>-->
<!-- <module>adapter-tcp</module>-->
<!-- <module>adapter-pulsar</module>-->
<!-- <module>adapter-kafka</module>-->
<!-- <module>adapter-amqp</module>-->
<!-- <module>adapter-jdbc</module>-->
<!-- <module>adapter-mongodb</module>-->
<!-- <module>adapter-aws-opensearch</module>-->
<!-- <module>adapter-cqld4</module>-->
<!-- <module>adapter-s4j</module>-->
<!-- VIRTDATA MODULES -->
<module>virtdata-api</module>
<module>virtdata-lang</module>
@ -89,6 +76,151 @@
</modules>
<profiles>
<profile>
<id>adapter-cqld4</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-cqld4>true</build-adapter-cqld4>
</properties>
<modules>
<module>adapter-cqld4</module>
</modules>
</profile>
<profile>
<id>adapter-milvus</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<build-adapter-milvus>true</build-adapter-milvus>
</properties>
<modules>
<module>adapter-milvus</module>
</modules>
</profile>
<profile>
<id>adapter-dynamodb</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-dynamodb>true</build-adapter-dynamodb>
</properties>
<modules>
<module>adapter-dynamodb</module>
</modules>
</profile>
<profile>
<id>adapter-http</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-http>true</build-adapter-http>
</properties>
<modules>
<module>adapter-http</module>
</modules>
</profile>
<profile>
<id>adapter-tcp</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-tcp>true</build-adapter-tcp>
</properties>
<modules>
<module>adapter-tcp</module>
</modules>
</profile>
<profile>
<id>adapter-pulsar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-pulsar>true</build-adapter-pulsar>
</properties>
<modules>
<module>adapter-pulsar</module>
</modules>
</profile>
<profile>
<id>adapter-kafka</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-kafka>true</build-adapter-kafka>
</properties>
<modules>
<module>adapter-kafka</module>
</modules>
</profile>
<profile>
<id>adapter-amqp</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-amqp>true</build-adapter-amqp>
</properties>
<modules>
<module>adapter-amqp</module>
</modules>
</profile>
<profile>
<id>adapter-jdbc</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-jdbc>true</build-adapter-jdbc>
</properties>
<modules>
<module>adapter-jdbc</module>
</modules>
</profile>
<profile>
<id>adapter-mongodb</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-mongodb>true</build-adapter-mongodb>
</properties>
<modules>
<module>adapter-mongodb</module>
</modules>
</profile>
<profile>
<id>adapter-aws-opensearch</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-aws-opensearch>true</build-adapter-aws-opensearch>
</properties>
<modules>
<module>adapter-aws-opensearch</module>
</modules>
</profile>
<profile>
<id>adapter-s4j</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build-adapter-s4j>true</build-adapter-s4j>
</properties>
<modules>
<module>adapter-s4j</module>
</modules>
</profile>
</profiles>
<licenses>