Skip to content

A Maven Plugin that reports on Groovy source code analysis generated by CodeNarc

License

Notifications You must be signed in to change notification settings

crizzis/codenarc-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeNarc Maven Plugin

A reporting plugin for CodeNarc that doesn't suck.

Basic Usage

As a Maven report:

<reporting>
    <plugins>
        ...
        <plugin>
            <groupId>io.github.crizzis</groupId>
            <artifactId>codenarc-maven-plugin</artifactId>
            <version>0.1</version>
        </plugin>
    </plugins>
</reporting>

As part of the install lifecycle:

<build>
    <plugins>
        ...
        <plugin>
            <groupId>io.github.crizzis</groupId>
            <artifactId>codenarc-maven-plugin</artifactId>
            <version>0.1</version>
            <executions>
                <execution>
                    <goals>
                        <goal>verify</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <maxPriority1Violations>2</maxPriority1Violations>
                <maxPriority2Violations>3</maxPriority2Violations>
                <maxPriority3Violations>1</maxPriority3Violations>
            </configuration>
        </plugin>
    </plugins>
</build>

See the docs for more info.

About

A Maven Plugin that reports on Groovy source code analysis generated by CodeNarc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published