diff --git a/checkstyle-config/pom.xml b/checkstyle-config/pom.xml index 31d62cd6..fcfd2d4e 100644 --- a/checkstyle-config/pom.xml +++ b/checkstyle-config/pom.xml @@ -18,7 +18,7 @@ limitations under the License. <groupId>com.google.cloud.samples</groupId> <artifactId>checkstyle-configuration</artifactId> - <version>1.0.13</version> + <version>1.0.14</version> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> @@ -63,7 +63,7 @@ limitations under the License. <url>https://github.com/GoogleCloudPlatform/java-repo-tools</url> <connection>scm:git:https://github.com/GoogleCloudPlatform/java-repo-tools.git</connection> <developerConnection>scm:git:ssh://git@github.com/GoogleCloudPlatform/java-repo-tools.git</developerConnection> - <tag>v1.0.13-snapshot</tag> + <tag>v${project.version}</tag> </scm> <distributionManagement> diff --git a/pom.xml b/pom.xml index 0716352e..921bda44 100644 --- a/pom.xml +++ b/pom.xml @@ -16,9 +16,15 @@ limitations under the License. <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> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <javac.version>9+181-r4173-1</javac.version> + </properties> + <groupId>com.google.cloud.samples</groupId> <artifactId>shared-configuration</artifactId> - <version>1.0.13</version> + <version>1.0.14</version> <packaging>pom</packaging> <name>${project.groupId}:${project.artifactId}</name> @@ -67,7 +73,7 @@ limitations under the License. <connection>scm:git:git@github.com:GoogleCloudPlatform/java-repo-tools.git</connection> <developerConnection>scm:git:git@github.com:GoogleCloudPlatform/java-repo-tools.git</developerConnection> <url>git@github.com:GoogleCloudPlatform/java-repo-tools.git</url> - <tag>v1.0.13</tag> + <tag>v${project.version}</tag> </scm> <distributionManagement> @@ -81,12 +87,6 @@ limitations under the License. </repository> </distributionManagement> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <javac.version>9+181-r4173-1</javac.version> - </properties> - <profiles> <!-- Code signing for release: http://stackoverflow.com/a/14869692/101923 --> <profile> @@ -108,11 +108,6 @@ limitations under the License. </executions> </plugin> - <plugin> - <artifactId>maven-archetype-plugin</artifactId> - <version>3.1.2</version> - </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> @@ -209,6 +204,28 @@ limitations under the License. </configuration> </plugin> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <version>4.0.0</version> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <dependencies> + <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> + <dependency> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs</artifactId> + <version>4.0.1</version> + </dependency> + </dependencies> + </plugin> + <plugin> <!-- Style Check --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> @@ -229,12 +246,12 @@ limitations under the License. <dependency> <groupId>com.google.cloud.samples</groupId> <artifactId>checkstyle-configuration</artifactId> - <version>1.0.13</version> + <version>1.0.14</version> </dependency> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> - <version>8.30</version> + <version>8.31</version> </dependency> </dependencies> <executions> diff --git a/test/pom.xml b/test/pom.xml index 9ccd12d9..1e558166 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -26,7 +26,7 @@ limitations under the License. <parent> <artifactId>shared-configuration</artifactId> <groupId>com.google.cloud.samples</groupId> - <version>1.0.13</version> + <version>1.0.14</version> <relativePath>..</relativePath> </parent> @@ -46,7 +46,7 @@ limitations under the License. <dependency> <groupId>com.google.truth</groupId> <artifactId>truth</artifactId> - <version>0.37</version> + <version>1.0.1</version> <scope>test</scope> </dependency> </dependencies>