SciJava Coding Style

Configuration Files For SciJava and ImgLib2 Coding Styles

License

License

GroupId

GroupId

org.scijava
ArtifactId

ArtifactId

scijava-coding-style
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

SciJava Coding Style
Configuration Files For SciJava and ImgLib2 Coding Styles
Project URL

Project URL

https://github.com/scijava/scijava-coding-style
Project Organization

Project Organization

SciJava
Source Code Management

Source Code Management

https://github.com/scijava/scijava-coding-style

Download scijava-coding-style

How to add to project

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

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.

scijava-coding-style

This Maven artifact contains Eclipse coding style settings, intended for use with pom-scijava.

Installation

The parent POM of your project needs to be pom-scijava at version 28.0.0 or later.

Usage

Code formatting for all java files can be done with the following command line:

$ mvn formatter:format

Sorting of java imports is supported as well:

$ mvn impsort:sort

Configuration

Two coding styles are supported: scijava and imglib2. The default setting is scijava. To change this, set the coding-style property in your Maven POM. For example:

<properties>
    <coding-style>imglib2</coding-style>
</properties>
org.scijava

SciJava

Scientific libraries in Java

Versions

Version
2.0.0