/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pom.xml
388 строк
14 KB
Maksim Zinal
Update pom.xml
17 фев 2025, 12:30
Не верифицирован
17 фев 2025, 12:30
5e76396
Код
Авторство
О чём код?
<?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> <groupId>com.oltpbenchmark</groupId> <artifactId>benchbase</artifactId> <version>2021-SNAPSHOT</version> <name>BenchBase</name> <description>BenchBase is a Multi-DBMS SQL Benchmarking Framework via JDBC https://github.com/cmu-db/benchbase</description> <url>https://github.com/cmu-db/benchbase</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>21</java.version> <maven.compiler.source>21</maven.compiler.source> <maven.compiler.target>21</maven.compiler.target> <buildDirectory>${project.basedir}/target</buildDirectory> <!-- Provids a way to limit which assembly package formats we produce. This is useful for quick iterations where compressing and extracting the package repeatedly to build a container image is wasteful. By default we continue to produce zip and tgz package outputs. This can be reset on the CLI by passing the following (for instance): -Ddescriptors=src/main/assembly/tgz.xml --> <!-- <descriptors>src/main/assembly/dir.xml,src/main/assembly/tgz.xml,src/main/assembly/zip.xml</descriptors> --> <descriptors>src/main/assembly/tgz.xml,src/main/assembly/zip.xml</descriptors> <!-- <descriptors>src/main/assembly/tgz.xml</descriptors> --> </properties> <scm> <connection>scm:git:git@github.com:cmu-db/benchbase.git</connection> <url>https://github.com/cmu-db/benchbase</url> <developerConnection>scm:git:git@github.com:cmu-db/benchbase.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <repository> <id>github</id> <name>GitHub cmu-db/benchbase Apache Maven Packages</name> <url>https://maven.pkg.github.com/cmu-db/benchbase</url> </repository> </distributionManagement> <profiles> <profile> <id>sqlite</id> <properties> <classifier>sqlite</classifier> </properties> <dependencies> <dependency> <groupId>org.xerial</groupId> <artifactId>sqlite-jdbc</artifactId> <version>3.41.2.1</version> </dependency> </dependencies> </profile> <profile> <id>postgres</id> <properties> <classifier>postgres</classifier> </properties> <dependencies> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.6.0</version> </dependency> <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> <version>5.1.0</version> </dependency> </dependencies> </profile> <profile> <id>mysql</id> <properties> <classifier>mysql</classifier> </properties> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.30</version> </dependency> </dependencies> </profile> <profile> <id>mariadb</id> <properties> <classifier>mariadb</classifier> </properties> <dependencies> <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>3.1.3</version> </dependency> </dependencies> </profile> <profile> <id>spanner</id> <properties> <classifier>spanner</classifier> </properties> <dependencies> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-spanner-jdbc</artifactId> <version>2.9.13</version> </dependency> </dependencies> </profile> <profile> <id>cockroachdb</id> <properties> <classifier>cockroachdb</classifier> </properties> <dependencies> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.6.0</version> </dependency> </dependencies> </profile> <profile> <id>phoenix</id> <properties> <classifier>phoenix</classifier> </properties> <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> <artifactId>phoenix-client-hbase-2.4</artifactId> <version>5.1.3</version> </dependency> </dependencies> </profile> <profile> <id>sqlserver</id> <properties> <classifier>sqlserver</classifier> </properties> <dependencies> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>11.2.3.jre17</version> </dependency> </dependencies> </profile> </profiles> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>2.0.7</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-reload4j</artifactId> <version>2.0.7</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-configuration2</artifactId> <version>2.9.0</version> </dependency> <dependency> <groupId>commons-jxpath</groupId> <artifactId>commons-jxpath</artifactId> <version>1.3</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.5.0</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.11.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>4.4</version> </dependency> <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>5.7.1</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20230227</version> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>4.0.2</version> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.7.1</version> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> <version>1.11.0</version> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_httpserver</artifactId> <version>0.16.0</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> </dependencies> <build> <directory>${buildDirectory}</directory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <classifier>${classifier}</classifier> <archive> <manifest> <addClasspath>true</addClasspath> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <classpathPrefix>lib</classpathPrefix> <mainClass>com.oltpbenchmark.DBWorkload</mainClass> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.5.0</version> <configuration> <appendAssemblyId>false</appendAssemblyId> <finalName>${project.artifactId}-${classifier}</finalName> <recompressZippedFiles>false</recompressZippedFiles> <descriptors>${descriptors}</descriptors> <tarLongFileMode>posix</tarLongFileMode> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.2.0</version> <configuration> <filesets> <fileset> <directory>results</directory> <includes> <include>*.*</include> </includes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>3.0.0</version> <configuration> <useReleaseProfile>false</useReleaseProfile> <tagNameFormat>v@{version}</tagNameFormat> </configuration> </plugin> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>4.9.10</version> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> <phase>initialize</phase> </execution> </executions> <configuration> <!-- NOTE: Run in tight loops you can run with -Dmaven.gitcommitid.skip=true to avoid regenerating the git.properties file that causes recompiliation. --> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> <commitIdGenerationMode>full</commitIdGenerationMode> <useNativeGit>true</useNativeGit> <verbose>true</verbose> <failOnNoGitDirectory>false</failOnNoGitDirectory> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>analyze</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <failOnWarning>false</failOnWarning> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <configuration> <mainClass>com.oltpbenchmark.DBWorkload</mainClass> </configuration> </plugin> </plugins> </build> </project>