sonar-pmd-jpinpoint
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.jpinpoint.sonar</groupId> <artifactId>sonar-pmd-jpinpoint</artifactId> <version>2.0.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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.jpinpoint.sonar</groupId> <artifactId>sonar-pmd-jpinpoint</artifactId> <packaging>sonar-plugin</packaging> <version>2.0.0</version> <name>Sonar PMD7 jPinpoint rules for Java plugin</name> <description>${plugin.description}</description> <properties> <plugin.key>pmdjpinpoint</plugin.key> <plugin.name>jPinpoint rules for Java</plugin.name> <plugin.description>131 Rules for responsible Java programming built on PMD7, 81 on performance, 63 on sustainability, 33 on multi-threading, 11 on data mix-up.</plugin.description> <pmd.version>7.10.0</pmd.version> <pmd.inputFileName>jpinpoint-rules.xml</pmd.inputFileName> <sonar.outputFileName>sonar-pmd-jpinpoint.xml</sonar.outputFileName> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <scm> <connection>scm:git:git@github.com:jborgers/sonar-pmd-jpinpoint.git</connection> <developerConnection>scm:git:git@github.com:jborgers/sonar-pmd-jpinpoint.git</developerConnection> <url>https://github.com/jborgers/sonar-pmd-jpinpoint</url> <tag>2.0.0</tag> </scm> <url>https://github.com/jborgers/sonar-pmd-jpinpoint</url> <issueManagement> <system>Github</system> <url>https://github.com/jborgers/sonar-pmd-jpinpoint/issues</url> </issueManagement> <licenses> <license> <name>Apache-2.0</name> <url>https://github.com/jborgers/sonar-pmd-jpinpoint/blob/master/LICENSE</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <developers> <developer> <name>Jeroen Borgers</name> <email>jborgers@jpinpoint.com</email> </developer> <developer> <name>Peter Paul Bakker</name> <email>peter.paul.bakker@stokpop.nl</email> </developer> <developer> <name>Vincent Oostindie</name> <email>Vincent.Oostindie@rabobank.nl</email> </developer> </developers> <dependencies> <!-- https://mvnrepository.com/artifact/org.sonarsource.api.plugin/sonar-plugin-api --> <dependency> <groupId>org.sonarsource.api.plugin</groupId> <artifactId>sonar-plugin-api</artifactId> <version>9.14.0.375</version> <!-- note this determines minimal supported sonar version --> <scope>provided</scope> </dependency> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-core</artifactId> <version>${pmd.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.sourceforge.pmd</groupId> <artifactId>pmd-java</artifactId> <version>${pmd.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>5.11.4</version> <type>pom</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.11.4</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.1.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.1.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.3</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>transform</goal> </goals> </execution> </executions> <configuration> <transformationSets> <transformationSet> <dir>src/main/resources/com/jpinpoint/pmd/rules</dir> <includes> <include>${pmd.inputFileName}</include> </includes> <stylesheet>src/main/xslt/create-rules-from-pmd.xsl</stylesheet> <outputDir>${project.build.directory}/generated-resources/com/jpinpoint/sonar/rules</outputDir> <outputProperties> <outputProperty> <name>omit-xml-declaration</name> <value>yes</value> </outputProperty> <outputProperty> <name>indent</name> <value>yes</value> </outputProperty> </outputProperties> <fileMappers> <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper"> <targetName>${sonar.outputFileName}</targetName> </fileMapper> </fileMappers> </transformationSet> </transformationSets> </configuration> <dependencies> <!-- https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE --> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>Saxon-HE</artifactId> <version>12.5</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> <artifactId>sonar-packaging-maven-plugin</artifactId> <version>1.23.0.740</version> <extensions>true</extensions> <configuration> <pluginClass>com.jpinpoint.sonar.PmdJavaExtensionPlugin</pluginClass> <basePlugin>pmd</basePlugin> <pluginName>PMD jPinpoint rules for Java</pluginName> <pluginKey>${plugin.key}</pluginKey> <pluginDescription>${plugin.description}</pluginDescription> <pluginUrl>https://github.com/jborgers/sonar-pmd-jpinpoint</pluginUrl> <pluginIssueTrackerUrl>https://github.com/jborgers/sonar-pmd-jpinpoint/issues</pluginIssueTrackerUrl> <pluginOrganizationName>jPinpoint, Stokpop and Rabobank</pluginOrganizationName> <pluginOrganizationUrl>https://github.com/jborgers/PMD-jPinpoint-rules/tree/v2.0.0#pmd-jpinpoint-rules</pluginOrganizationUrl> <requiredForLanguages>java</requiredForLanguages> <archive> <manifestEntries> <!-- ${buildNumber} is the svn revision generated by the buildnumber-maven-plugin --> <!--suppress UnresolvedMavenProperty --> <Implementation-Build>${buildNumber}</Implementation-Build> <!--suppress UnresolvedMavenProperty --> <Build-Time>${timestamp}</Build-Time> <Plugin-RequiredForLanguages>java</Plugin-RequiredForLanguages> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>11</source> <target>11</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> <configuration> <formats> <format>XML</format> </formats> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.6.3</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.*</include> </includes> </resource> <resource> <directory>${project.build.directory}/generated-resources</directory> <includes> <include>**/*.*</include> </includes> </resource> </resources> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <autoPublish>false</autoPublish> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <stylesheet>java</stylesheet> <doclint>none</doclint> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>