Viskan System AB :: Checkstyle configuration

Contains checkstyle configurations for Viskan projects.

License

License

Categories

Categories

Checkstyle Application Testing & Monitoring Code Analysis Configuration Application Layer Libs config
GroupId

GroupId

com.viskan
ArtifactId

ArtifactId

checkstyle-configuration
Last Version

Last Version

6
Release Date

Release Date

Type

Type

jar
Description

Description

Viskan System AB :: Checkstyle configuration
Contains checkstyle configurations for Viskan projects.
Project URL

Project URL

https://github.com/viskan/checkstyle-configuration
Project Organization

Project Organization

Viskan Distanshandel System AB
Source Code Management

Source Code Management

https://github.com/viskan/checkstyle-configuration

Download checkstyle-configuration

How to add to project

<!-- https://jarcasting.com/artifacts/com.viskan/checkstyle-configuration/ -->
<dependency>
    <groupId>com.viskan</groupId>
    <artifactId>checkstyle-configuration</artifactId>
    <version>6</version>
</dependency>
// https://jarcasting.com/artifacts/com.viskan/checkstyle-configuration/
implementation 'com.viskan:checkstyle-configuration:6'
// https://jarcasting.com/artifacts/com.viskan/checkstyle-configuration/
implementation ("com.viskan:checkstyle-configuration:6")
'com.viskan:checkstyle-configuration:jar:6'
<dependency org="com.viskan" name="checkstyle-configuration" rev="6">
  <artifact name="checkstyle-configuration" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.viskan', module='checkstyle-configuration', version='6')
)
libraryDependencies += "com.viskan" % "checkstyle-configuration" % "6"
[com.viskan/checkstyle-configuration "6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Checkstyle configuration

Contains Checkstyle configurations for Viskan projects.

Usage

    ...
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.17</version>
            <dependencies>
                <dependency>
                    <groupId>com.viskan</groupId>
                    <artifactId>checkstyle-configuration</artifactId>
                    <version>5</version>
                </dependency>
                <dependency>
                    <groupId>com.puppycrawl.tools</groupId>
                    <artifactId>checkstyle</artifactId>
                    <version>6.19</version>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <id>checkstyle-main</id>
                    <goals>
                        <goal>check</goal>
                    </goals>
                    <configuration>
                        <sourceDirectories>
                            <sourceDirectory>src/main/java/</sourceDirectory>
                        </sourceDirectories>
                        <includeResources>true</includeResources>
                        <includeTestResources>false</includeTestResources>
                        <configLocation>viskan-checkstyle-main.xml</configLocation>
                        <violationSeverity>warning</violationSeverity>
                    </configuration>
                </execution>
                <execution>
                    <id>checkstyle-test</id>
                    <goals>
                        <goal>check</goal>
                    </goals>
                    <configuration>
                        <sourceDirectories>
                            <sourceDirectory>src/test/java/</sourceDirectory>
                        </sourceDirectories>
                        <includeResources>false</includeResources>
                        <includeTestResources>true</includeTestResources>
                        <configLocation>viskan-checkstyle-test.xml</configLocation>
                        <violationSeverity>warning</violationSeverity>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
    ...

License

Apache License 2.0 © Viskan System AB

com.viskan

Viskan System AB

Versions

Version
6
5
4
3