checkstyle-configuration
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.google.cloud.samples</groupId> <artifactId>checkstyle-configuration</artifactId> <version>1.2.2</version> </dependency>
<!-- Copyright 2016 Google Inc. 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. --> <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> <groupId>com.google.cloud.samples</groupId> <artifactId>checkstyle-configuration</artifactId> <version>1.2.2</version><!-- {x-version-update:checkstyle-configuration:current} --> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven-release-plugin>2.5.3</maven-release-plugin><!-- could be 3.0.0-M1 --> <nexus-staging-maven-plugin>1.6.13</nexus-staging-maven-plugin> <versions-maven-plugin>2.15.0</versions-maven-plugin> <maven-gpg-plugin>3.0.1</maven-gpg-plugin> </properties> <name>${project.groupId}:${project.artifactId}</name> <description>A common checkstyle configuration for Google Cloud samples.</description> <url>https://github.com/GoogleCloudPlatform/java-repo-tools</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Kurtis Van Gent</name> <email>kvg@google.com</email> <organization>Google LLC</organization> <organizationUrl>https://cloud.google.com</organizationUrl> </developer> <developer> <name>Averi Kitsch</name> <email>akitsch@google.com</email> <organization>Google LLC</organization> <organizationUrl>https://cloud.google.com</organizationUrl> </developer> <developer> <name>Emily Ball</name> <email>emilyball@google.com</email> <organization>Google LLC</organization> <organizationUrl>https://cloud.google.com</organizationUrl> </developer> <developer> <name>Jennifer Davis</name> <email>sigje@google.com</email> <organization>Google LLC</organization> <organizationUrl>https://cloud.google.com</organizationUrl> </developer> </developers> <scm> <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>v${project.version}</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <profiles> <!-- Code signing for release: http://stackoverflow.com/a/14869692/101923 --> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <pluginManagement> <plugins> <!-- Plugins for release. See: http://central.sonatype.org/pages/apache-maven.html --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> <stagingProfileId>2145015f0f5c04</stagingProfileId> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin}</version> <configuration> <tagBase>scm:git:ssh://git@github.com/GoogleCloudPlatform/java-repo-tools.git</tagBase> <tagNameFormat>checkstyle-config-v@{project.version}</tagNameFormat> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>com.coderplus.maven.plugins</groupId> <artifactId>copy-rename-maven-plugin</artifactId> <version>1.0.1</version> <executions> <execution> <id>copy-resources</id> <phase>generate-sources</phase> <goals> <goal>copy</goal> </goals> <configuration> <sourceFile>../third_party/checkstyle/google_checks.xml</sourceFile> <destinationFile>target/classes/google-checks.xml</destinationFile> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${versions-maven-plugin}</version> </plugin> <!-- Release (not inherited) --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <inherited>false</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <inherited>false</inherited> </plugin> </plugins> </build> </project>