trino-benchto-benchmarks
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-benchto-benchmarks</artifactId>
<version>476</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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.trino</groupId>
<artifactId>trino-root</artifactId>
<version>476</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>trino-benchto-benchmarks</artifactId>
<description>Trino - Benchto benchmarks</description>
<properties>
<air.check.fail-duplicate-finder>false</air.check.fail-duplicate-finder>
</properties>
<dependencies>
<dependency>
<!-- TODO document why we have explicit dependency on Guava -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- benchmark queries referenced from benchmark definition files -->
<groupId>io.trino</groupId>
<artifactId>trino-benchmark-queries</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- for connecting to Trino when running benchmarks -->
<groupId>io.trino</groupId>
<artifactId>trino-jdbc</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- provides the main class -->
<groupId>io.trino.benchto</groupId>
<artifactId>benchto-driver</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.airlift</groupId>
<artifactId>junit-extensions</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Build archive files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/benchmarks.xml</descriptor>
</descriptors>
<finalName>presto-benchto-benchmarks-package-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.18</version>
<configuration>
<classifier>executable</classifier>
<mainClass>io.trino.benchto.driver.DriverApp</mainClass>
<layout>ZIP</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<bannedDependencies>
<includes combine.children="append">
<!-- allow vulnerable snakeyaml version until benchto is updated -->
<include>org.yaml:snakeyaml:1.33</include>
<!-- benchto still uses javax.annotation -->
<include>javax.annotation:javax.annotation-api</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</plugin>
</plugins>
</build>
</project>