jpeek-maven-plugin

Maven plugin for jpeek - Static collector of Java code metrics

License

License

MIT
Categories

Categories

Maven Build Tools
GroupId

GroupId

org.jpeek
ArtifactId

ArtifactId

jpeek-maven-plugin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

jpeek-maven-plugin
Maven plugin for jpeek - Static collector of Java code metrics
Project URL

Project URL

https://github.com/yegor256/jpeek-maven-plugin
Project Organization

Project Organization

jPeek
Source Code Management

Source Code Management

https://github.com/yegor256/jpeek-maven-plugin

Download jpeek-maven-plugin

How to add to project

<plugin>
    <groupId>org.jpeek</groupId>
    <artifactId>jpeek-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.6.3
org.jpeek : jpeek jar 0.30.24

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

Project Modules

There are no modules declared in this project.

How to use?

Add the plugin execution to your pom.xml:

    <plugin>
        <groupId>org.jpeek</groupId>
        <artifactId>jpeek-maven-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
        <executions>
            <execution>
                <goals>
                    <!-- Bound by default to verify phase -->
                    <goal>analyze</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <!-- Those are the default values -->
            <inputDirectory>${project.build.outputDirectory}</inputDirectory>
            <outputDirectory>${project.build.directory}/jpeek/</outputDirectory>
            <cohesionRate>8.0</cohesionRate>
        </configuration>
    </plugin>

Or run it from the command-line:

mvn org.jpeek:jpeek-maven-plugin:1.0-SNAPSHOT:analyze

Versions

Version
1.0.0