Kengo's blog

Technical articles about original projects, JVM, Static Analysis and TypeScript.

ruleset-for-SLF4J is now on Maven central!

I am excited to announce the ruleset-for-SLF4J is now on Maven central! Many thanks for sonatype!

So, you can use it easily with Maven like:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-pmd-plugin</artifactId>
    <version>2.7.1</version>
    <dependencies>
        <dependency>
            <groupId>jp.skypencil</groupId>
            <artifactId>RuleSet-for-SLF4J</artifactId>
            <version>0.1</version>
        </dependency>
    </dependencies>
    <configuration>
        <linkXRef>false</linkXRef>
        <sourceEncoding>UTF-8</sourceEncoding>
        <targetJdk>1.6</targetJdk>
        <rulesets>
            <ruleset>src/rulesets/slf4j.xml</ruleset>
        </rulesets>
    </configuration>
</plugin>

Feel free to use it in your product, and feedback if you have suggestion. Thank you.