/
zhendosina
/
YCSB
Обзор
Документация
Войти
/
zhendosina
/
YCSB
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
cloudspanner/pom.xml
99 строк
3 KB
Igor Bernstein
fix spanner driver build on newer versions of maven that require plugin version to be specified
23 окт 2024, 19:37
23 окт 2024, 19:37
bf75e18
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2017 YCSB contributors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. See accompanying LICENSE file. --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>site.ycsb</groupId> <artifactId>binding-parent</artifactId> <version>0.18.0-SNAPSHOT</version> <relativePath>../binding-parent/</relativePath> </parent> <artifactId>cloudspanner-binding</artifactId> <name>Cloud Spanner DB Binding</name> <packaging>jar</packaging> <dependencies> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-spanner</artifactId> <version>${cloudspanner.version}</version> <exclusions> <exclusion> <!-- exclude an old version of Guava --> <groupId>com.google.guava</groupId> <artifactId>guava-jdk5</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>site.ycsb</groupId> <artifactId>core</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.perfmark</groupId> <artifactId>perfmark-api</artifactId> <version>0.23.0</version> </dependency> <dependency> <groupId>io.perfmark</groupId> <artifactId>perfmark-traceviewer</artifactId> <version>0.23.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>org.example.Main</mainClass> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>