patch-filters
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>patch-filters</artifactId> <version>1.4.0</version> </dependency>
<?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> <!-- This parent is requirements for deploy of artifacts to maven central --> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent> <groupId>com.puppycrawl.tools</groupId> <artifactId>patch-filters</artifactId> <version>1.4.0</version> <name>patch-filters</name> <description> Filter for Checkstyle that is based on patch file. </description> <url>https://github.com/checkstyle/patch-filters</url> <inceptionYear>2020</inceptionYear> <licenses> <license> <name>LGPL-2.1+</name> <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> </license> </licenses> <scm> <connection>scm:git:git@github.com:checkstyle/patch-filters.git</connection> <developerConnection>scm:git:git@github.com:checkstyle/patch-filters.git</developerConnection> <url>https://github.com/checkstyle/patch-filters</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <checkstyle.version>10.4</checkstyle.version> <maven.checkstyle.plugin.version>3.2.0</maven.checkstyle.plugin.version> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <junit.version>5.9.1</junit.version> </properties> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyle.version}</version> </dependency> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <type>test-jar</type> <scope>test</scope> <version>${checkstyle.version}</version> </dependency> <dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>6.3.0.202209071007-r</version> </dependency> <!-- Tests --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyle.version}</version> <classifier>tests</classifier> <type>test-jar</type> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <!-- version is same as in supper-pom as it is better to use same version as in sonatype-nexus-staging --> <version>2.1</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven.checkstyle.plugin.version}</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyle.version}</version> </dependency> </dependencies> <executions> <execution> <id>check</id> <goals> <goal>check</goal> </goals> <configuration> <includeResources>false</includeResources> <includeTestResources>false</includeTestResources> <includeTestSourceDirectory>true</includeTestSourceDirectory> <configLocation> https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle_checks.xml </configLocation> <propertiesLocation>config/checkstyle.properties</propertiesLocation> <failOnViolation>true</failOnViolation> <logViolationsToConsole>true</logViolationsToConsole> <maxAllowedViolations>0</maxAllowedViolations> <violationSeverity>error</violationSeverity> <outputFileFormat>xml</outputFileFormat> <outputFile> ${project.build.directory}/checkstyle/checkstyle-report.xml </outputFile> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <!-- serverId is ID of a <server> section from Maven's settings.xml to pick authentication information from --> <serverId>sonatype-nexus-staging</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </project>