mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-01 12:59:18 -06:00
222 lines
8.8 KiB
XML
222 lines
8.8 KiB
XML
<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>
|
|
<groupId>io.nosqlbench</groupId>
|
|
<artifactId>mvn-defaults</artifactId>
|
|
<version>4.15.89-SNAPSHOT</version>
|
|
<relativePath>../mvn-defaults</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>driver-cql-shaded</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId}</name>
|
|
|
|
<description>
|
|
A Shaded CQL ActivityType driver for http://nosqlbench.io/
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- core dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>io.nosqlbench</groupId>
|
|
<artifactId>engine-api</artifactId>
|
|
<version>4.15.89-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.nosqlbench</groupId>
|
|
<artifactId>drivers-api</artifactId>
|
|
<version>4.15.89-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.datastax.dse</groupId>
|
|
<artifactId>dse-java-driver-core</artifactId>
|
|
<version>1.9.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.datastax.dse</groupId>
|
|
<artifactId>dse-java-driver-extras</artifactId>
|
|
<version>1.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.datastax.dse</groupId>
|
|
<artifactId>dse-java-driver-mapping</artifactId>
|
|
<version>1.9.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.datastax.dse</groupId>
|
|
<artifactId>dse-java-driver-graph</artifactId>
|
|
<version>1.9.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- For CQL compression option -->
|
|
<dependency>
|
|
<groupId>org.lz4</groupId>
|
|
<artifactId>lz4-java</artifactId>
|
|
</dependency>
|
|
|
|
<!-- For CQL compression option -->
|
|
<dependency>
|
|
<groupId>org.xerial.snappy</groupId>
|
|
<artifactId>snappy-java</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<classifier>linux-x86_64</classifier>
|
|
</dependency>
|
|
|
|
<!-- test only scope -->
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<!--
|
|
If this plugin is re-enabled, the local CQL grammar will
|
|
be overwritten. The grammar has some syntax issues, so
|
|
fixes will be made to it before it is submitted back.
|
|
|
|
(lack of composite key syntax, nested type syntax, etc)
|
|
-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>com.googlecode.maven-download-plugin</groupId>-->
|
|
<!-- <artifactId>download-maven-plugin</artifactId>-->
|
|
<!-- <version>1.4.0</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>get-cql-lexer</id>-->
|
|
<!-- <phase>generate-sources</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>wget</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <url>-->
|
|
<!-- https://raw.githubusercontent.com/antlr/grammars-v4/master/cql3/CqlLexer.g4-->
|
|
<!-- </url>-->
|
|
<!-- <outputFileName>CqlLexer.g4</outputFileName>-->
|
|
<!-- <outputDirectory>src/main/grammars/cql3/-->
|
|
<!-- </outputDirectory>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>get-cql-parser</id>-->
|
|
<!-- <phase>generate-sources</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>wget</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <url>-->
|
|
<!-- https://raw.githubusercontent.com/antlr/grammars-v4/master/cql3/CqlParser.g4-->
|
|
<!-- </url>-->
|
|
<!-- <outputFileName>CqlParser.g4</outputFileName>-->
|
|
<!-- <outputDirectory>src/main/grammars/cql3/-->
|
|
<!-- </outputDirectory>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
|
|
<plugin>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
<version>4.9.2</version>
|
|
<configuration>
|
|
<sourceDirectory>src/main/grammars/cql3
|
|
</sourceDirectory>
|
|
<arguments>
|
|
<argument>-package</argument>
|
|
<argument>io.nosqlbench.generators.cql.generated
|
|
</argument>
|
|
</arguments>
|
|
<outputDirectory>
|
|
src/main/java/io/nosqlbench/generators/cql/generated
|
|
</outputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>antlr</id>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
|
|
<createSourcesJar>true</createSourcesJar>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.google.common</pattern>
|
|
<shadedPattern>com.datastax.internal.com_google_common</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>*:*</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<transformers combine.children="append">
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>io.nosqlbench.engine.cli.NBCLI</mainClass>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
|
</transformers>
|
|
<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>
|
|
|
|
|
|
</project>
|