nav-java-codestyle

Checkstyle/PMD/Findbugs XML config for NAV

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

no.nav
Идентификатор

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

java-codestyle
Последняя версия

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

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

nav-java-codestyle
Checkstyle/PMD/Findbugs XML config for NAV
Ссылка на сайт

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

https://github.com/navikt/nav-java-codestyle
Система контроля версий

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

https://github.com/navikt/nav-java-codestyle

Скачать java-codestyle

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

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

Зависимости

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

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

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

Build Status Published on Maven

Java code style for NAV projects

This is a repository that contains code style definitions in XML format.

At NAV, we use Sonar for Java code quality analysis. The Sonar instance is not exposed to the public, so we export XML code style definitions and publish them through this library, to be reused in NAV projects.

Making changes to the code style

Tweak the configuration in Sonar. Then, run the script that is included in this git repository:

./fetch-codestyles.sh

The script will download the style definitions as XML files and store them in src/main/resources.

Snapshot versions

Every commit to the master branch (or merged pull request) will trigger a release to the Sonatype OSS snapshot repository.

Releases

In order to release a new version, clone this repository, and

# make sure we're up to date!
git checkout master && git pull

# This is the release command itself
mvn release:prepare

# This will clean up any local temporary files
# that were used during the release.
mvn release:clean

The mvn release:prepare command will ask for a version number to release, as well as which version number to bump to. This command will also do a git push on your behalf, which will update the remote git repository. Then, Travis CI will trigger a build, and deploy the artifact.

First, it will appear in Sonatype OSS releases, before eventually (a couple of minutes later) if is synced to Maven Central.

Contact

If you have any questions, please open an issue on the Github issue tracker.

no.nav

NAV IT

Arbeids- og velferdsdirektoratet - The Norwegian Labour and Welfare Directorate

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

Версия
1.0