File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# scijava-coding-style
2+
3+ This maven artifact contains Exclipse coding styles settings, that are intended to be used with ` pom-scijava ` .
4+
5+ ## Installation
6+ ** PLEASE NOTE: This PR needs to be merged first: https://github.com/scijava/pom-scijava/pull/85 **
7+
8+ The parent pom of your project needs to be ` pom-scijava ` .
9+
10+ ## Usage
11+
12+ Code formatting for all java files can be done with the following command line:
13+ ``` bash
14+ $ mvn formatter:format
15+ ```
16+ Sorting of java imports is supported as well:
17+ ```
18+ $ mvn impsort:sort
19+ ```
20+
21+ ## Configuration
22+
23+ Three coding styles are supported: ` imagej ` , ` imglib2 ` and ` scifio ` .
24+ The default setting is ` imagej ` .
25+ To change this set the ` coding-style ` property in you maven pom. For examle:
26+ ```
27+ <properties>
28+ <coding-style>imglib2</coding-style>
29+ </properties>
30+ ```
You can’t perform that action at this time.
0 commit comments