Skip to content

PMD RuleSet for recommend changes to use the latest Java language features

Notifications You must be signed in to change notification settings

johnnyleitrim/pmd-java-hints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMD Java Hints RuleSet

Build Status

About

This project provides a PMD rule set that gives hints for updating your code to use the newest syntax for the latest Java version.

Using it in your project

Add this project as a dependency to the maven-pmd-plugin, and configure the pmd plugin to use the ruleset java-hints

        <build>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <version>${pmd.plugin.version}</version>
                <dependencies>
                    <dependency>
                        <groupId>io.johnnyleitrim</groupId>
                        <artifactId>pmd-java-hints</artifactId>
                        <version>0.1.0-SNAPSHOT</version>
                    </dependency>
                </dependencies>
                <configuration>
                    <rulesets>
                        <ruleset>java-hints</ruleset>
                    </rulesets>
                </configuration>
            </plugin>
        </build>

About

PMD RuleSet for recommend changes to use the latest Java language features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages