CodeNarc Maven Plugin

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

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

io.github.crizzis
ArtifactId

ArtifactId

codenarc-maven-plugin
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

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

Project URL

https://github.com/crizzis/codenarc-maven-plugin
Source Code Management

Source Code Management

https://github.com/crizzis/codenarc-maven-plugin

Download codenarc-maven-plugin

How to add to project

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

Dependencies

compile (8)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
org.apache.maven.reporting : maven-reporting-impl jar 3.0.0
org.apache.maven.reporting : maven-reporting-api jar 3.0
org.codenarc : CodeNarc jar 1.5
org.apache.maven.plugin-tools : maven-plugin-annotations Optional jar 3.6.0
org.apache.commons : commons-lang3 jar 3.10
javax.inject : javax.inject jar 1
org.xmlunit : xmlunit-matchers jar 2.2.1

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.12

test (8)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.6.2
org.junit.jupiter : junit-jupiter-params jar 5.6.2
org.junit-pioneer : junit-pioneer jar 0.6.0
org.hamcrest : hamcrest jar 2.2
org.junit.jupiter : junit-jupiter-engine jar 5.6.2
org.mockito : mockito-core jar 3.3.3
org.xmlunit : xmlunit-core jar 2.2.1
org.apache.maven.shared : maven-verifier jar 1.7.1

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.1