Skip to content
GantSign configuration for PMD
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.mvn/wrapper
.travis
src/main/resources
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
mvnw
mvnw.cmd
pmd-config.iml
pom.xml

README.md

GantSign PMD Configuration

PMD configuration for Java code written by GantSign.

Configuration

To use this PMD configuration add the following to your POM:

<project>
  ...
  <properties>
    <pmd.version>6.2.0</pmd.version>
  </properties>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>3.9.0</version>
        <configuration>
          <rulesets>
            <ruleset>gantsign-pmd-config.xml</ruleset>
          </rulesets>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>net.sourceforge.pmd</groupId>
            <artifactId>pmd-core</artifactId>
            <version>${pmd.version}</version>
          </dependency>
          <dependency>
            <groupId>net.sourceforge.pmd</groupId>
            <artifactId>pmd-java</artifactId>
            <version>${pmd.version}</version>
          </dependency>
          <dependency>
            <groupId>net.sourceforge.pmd</groupId>
            <artifactId>pmd-javascript</artifactId>
            <version>${pmd.version}</version>
          </dependency>
          <dependency>
            <groupId>net.sourceforge.pmd</groupId>
            <artifactId>pmd-jsp</artifactId>
            <version>${pmd.version}</version>
          </dependency>
          <dependency>
            <groupId>com.github.gantsign.pmd</groupId>
            <artifactId>pmd-config</artifactId>
            <version>@enter.version.here@</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
  ...
  <pluginRepositories>
    <pluginRepository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>bintray-gantsign-maven</id>
      <name>bintray-gantsign-plugins</name>
      <url>https://dl.bintray.com/gantsign/maven</url>
    </pluginRepository>
  </pluginRepositories>
  ...
</project>

License

This software is licensed under the terms in the file named "LICENSE" in the root directory of this project.

Author Information

John Freeman

GantSign Ltd. Company No. 06109112 (registered in England)

You can’t perform that action at this time.