com.cogvio:checkstyle-config

A module containing Checkstyle Maven plugin configuration shared among Cogvio projects.

Лицензия

Лицензия

Категории

Категории

Checkstyle Тестирование приложения и мониторинг Code Analysis config Библиотеки уровня приложения Configuration
Группа

Группа

com.cogvio
Идентификатор

Идентификатор

checkstyle-config
Последняя версия

Последняя версия

0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

com.cogvio:checkstyle-config
A module containing Checkstyle Maven plugin configuration shared among Cogvio projects.
Ссылка на сайт

Ссылка на сайт

https://github.com/Cogvio/checkstyle-config
Система контроля версий

Система контроля версий

http://github.com/Cogvio/checkstyle-config/tree/master

Скачать checkstyle-config

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Cogvio Checkstyle Config

Maven Central

Checkstyle plugin configuration shared among Cogvio projects.

Usage

setup the plugin in the <build><plugins> section

<plugin>
 <artifactId>maven-checkstyle-plugin</artifactId>
 <version>${maven-checkstyle-plugin.version}</version>
 <dependencies>
   <dependency>
     <groupId>com.cogvio</groupId>
     <artifactId>checkstyle-config</artifactId>
     <version>${cogvio-checkstyle.version}</version>
   </dependency>
   <dependency>
     <groupId>com.puppycrawl.tools</groupId>
     <artifactId>checkstyle</artifactId>
     <version>${checkstyle.version}</version>
   </dependency>
 </dependencies>
 <configuration>
   <configLocation>cogvio_checkstyle.xml</configLocation>
   <encoding>UTF-8</encoding>
   <consoleOutput>true</consoleOutput>
   <failOnViolation>true</failOnViolation>
   <violationSeverity>warning</violationSeverity>
   <includeTestSourceDirectory>true</includeTestSourceDirectory>
 </configuration>
 <executions>
   <execution>
     <id>validate</id>
     <phase>validate</phase>
     <goals>
       <goal>check</goal>
     </goals>
   </execution>
 </executions>
</plugin>

Suppressions

Optionally, you can create a checkstyle_suppressions.xml file in your project, ideally using this guide

<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
    "-//Puppy Crawl//DTD Suppressions 1.1//EN"
    "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
    <suppress files=".*[\\/]src[\\/]test[\\/]java[\\/].*" id="VisibilityModifierCode"/>
    <suppress files=".*[\\/]src[\\/]test[\\/]java[\\/].*" id="MagicNumberCode"/>
</suppressions>

and then specify the location using <suppressionsLocation> in above configuration.

com.cogvio

Cogvio

Версии библиотеки

Версия
0.1