cloud-spanner-r2dbc-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.google.cloud</groupId> <artifactId>cloud-spanner-r2dbc-parent</artifactId> <version>1.4.1</version> </dependency>
<!-- # Copyright 2024 Google LLC # # 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. # Github action job to test core java library features on # downstream client libraries before they are released. --> <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.google.cloud</groupId> <artifactId>cloud-spanner-r2dbc-parent</artifactId> <packaging>pom</packaging> <version>1.4.1</version><!-- {x-version-update:cloud-spanner-r2dbc:current} --> <name>Google Cloud Spanner R2DBC Parent Project</name> <description>Reactive R2DBC driver implementation for Cloud Spanner.</description> <url>https://github.com/GoogleCloudPlatform/cloud-spanner-r2dbc</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <id>ChengyuanZhao</id> <name>Chengyuan Zhao</name> <email>cccz@google.com</email> <organization>Google</organization> <organizationUrl>http://www.google.com</organizationUrl> </developer> <developer> <id>dmitry-s</id> <name>Dmitry Solomakha</name> <email>dsolomakha@google.com</email> <organization>Google</organization> <organizationUrl>http://www.google.com</organizationUrl> </developer> <developer> <id>dzou</id> <name>Daniel Zou</name> <email>dzou@google.com</email> <organization>Google</organization> <organizationUrl>http://www.google.com</organizationUrl> </developer> <developer> <id>elefeint</id> <name>Elena Felder</name> <email>elfel@google.com</email> <organization>Google</organization> <organizationUrl>http://www.google.com</organizationUrl> </developer> <developer> <id>meltsufin</id> <name>Mike Eltsufin</name> <email>meltsufin@google.com</email> <organization>Google</organization> <organizationUrl>http://www.google.com</organizationUrl> </developer> </developers> <organization> <name>Google LLC</name> </organization> <scm> <connection>scm:git:git@github.com:GoogleCloudPlatform/cloud-spanner-r2dbc.git</connection> <developerConnection>scm:git:git@github.com:GoogleCloudPlatform/cloud-spanner-r2dbc.git</developerConnection> <url>https://github.com/GoogleCloudPlatform/cloud-spanner-r2dbc</url> <tag>HEAD</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://google.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <google-cloud-bom.version>26.26.0</google-cloud-bom.version> <r2dbc.version>1.0.0.RELEASE</r2dbc.version> <reactor.version>2022.0.12</reactor.version> <mockito.version>4.9.0</mockito.version> <slf4j.version>2.0.11</slf4j.version> <!-- Test dependencies --> <assertj.version>3.25.2</assertj.version> <junit.version>5.10.0</junit.version> <surefire-failsafe.version>3.2.5</surefire-failsafe.version> <testng.version>7.5</testng.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.google.cloud</groupId> <artifactId>libraries-bom</artifactId> <version>${google-cloud-bom.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-bom</artifactId> <version>${reactor.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.r2dbc</groupId> <artifactId>r2dbc-spi</artifactId> <version>${r2dbc.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.r2dbc</groupId> <artifactId>r2dbc-spi-test</artifactId> <version>${r2dbc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- Common test dependencies --> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</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> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://google.oss.sonatype.org/</nexusUrl> <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.3.1</version> <configuration> <consoleOutput>false</consoleOutput> <failOnViolation>true</failOnViolation> <violationSeverity>warning</violationSeverity> <includeTestSourceDirectory>true</includeTestSourceDirectory> </configuration> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>9.3</version> </dependency> </dependencies> <executions> <execution> <id>validate-google-style</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <configLocation>google_checks.xml</configLocation> </configuration> </execution> <execution> <id>validate-file-header</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <headerLocation>checkstyle/java.header</headerLocation> <configLocation>checkstyle/custom-checks.xml</configLocation> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire-failsafe.version}</version> <configuration> <excludes> <exclude>**/*IntegrationTest*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${surefire-failsafe.version}</version> <configuration> <includes> <include>**/*IntegrationTest*</include> </includes> </configuration> <executions> <execution> <id>integration-tests</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> </plugin> </plugins> </build> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <modules> <module>cloud-spanner-r2dbc</module> <module>cloud-spanner-r2dbc-samples</module> </modules> </profile> <profile> <id>codecov</id> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- need for JaCoCo --> <argLine>@{argLine} -Xms512m -Xmx512m</argLine> <excludes> <exclude>**/*IntegrationTest*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.11</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <property> <name>performRelease</name> </property> </activation> <modules> <module>cloud-spanner-r2dbc</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <source>8</source> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>native</id> <!-- including only core driver module--> <modules> <module>cloud-spanner-r2dbc</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Include all tests during native image testing. --> <excludes combine.self="override"/> <includes> <include>**/*IntegrationTest.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.graalvm.buildtools</groupId> <artifactId>native-maven-plugin</artifactId> <version>0.9.28</version> <extensions>true</extensions> <executions> <execution> <id>test-native</id> <goals> <goal>test</goal> </goals> <phase>test</phase> </execution> </executions> <configuration> <buildArgs> <buildArg>--no-fallback</buildArg> <buildArg>--no-server</buildArg> </buildArgs> <systemProperties> <spanner.database>graalvm_test_db</spanner.database> <it.use-random-suffix>true</it.use-random-suffix> </systemProperties> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>