-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
William Welling
committed
Jan 28, 2021
1 parent
1ae5bbf
commit c8193ab
Showing
5 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
|
||
buildMvn { | ||
publishAPI = 'no' | ||
mvnDeploy = 'yes' | ||
runLintRamlCop = 'no' | ||
buildNode = 'jenkins-agent-java11' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!DOCTYPE suppressions PUBLIC | ||
"-//Puppy Crawl//DTD Suppressions 1.1//EN" | ||
"http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd"> | ||
|
||
<suppressions> | ||
<!-- Tone down the checking for test code --> | ||
<suppress checks="ImportControl" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="Javadoc" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="MagicNumber" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="AvoidStaticImport" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="WriteTag" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="MethodCount" files=".*[\\/]src[\\/](test|it)[\\/]"/> | ||
<suppress checks="." files="[\\/]generated-sources[\\/]"/> | ||
</suppressions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" ?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | ||
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd"> | ||
|
||
<module name="Checker"> | ||
<property name="fileExtensions" value="java, xml, json, properties" /> | ||
<module name="NewlineAtEndOfFile"> | ||
<property name="lineSeparator" value="lf"/> | ||
</module> | ||
<module name="FileTabCharacter"> | ||
<property name="eachLine" value="true"/> | ||
</module> | ||
<module name="TreeWalker"> | ||
<module name="EmptyStatement"/> | ||
<property name="tabWidth" value="2" /> | ||
<module name="AvoidStarImport" /> | ||
<module name="EmptyBlock" /> | ||
<module name="MethodLength"> | ||
<property name="tokens" value="METHOD_DEF" /> <!-- max lines for a function --> | ||
<property name="max" value="200" /> | ||
<property name="countEmpty" value="false"/> | ||
</module> | ||
<module name="MethodLength"> | ||
<property name="tokens" value="CTOR_DEF" /> <!-- max lines for a constructor --> | ||
<property name="max" value="20" /> | ||
</module> | ||
<module name="AnonInnerLength"> | ||
<property name="max" value="30"/> <!-- max lines for inner class / lambda - note java spec = 20 --> | ||
</module> | ||
<module name="AvoidInlineConditionals"/> <!-- Some developers find inline conditionals hard to read --> | ||
<module name="AvoidStaticImport"> <!-- avoid static imports as they are confusing, allow the list included below --> | ||
<property name="excludes" value="java.lang.System.out,java.lang.Math.*"/> | ||
</module> | ||
<module name="ClassDataAbstractionCoupling"> <!-- the number of instantiations of other classes within the given class --> | ||
<property name="max" value="10"/> | ||
<!-- since cannot pass RMB generated objects as a package with wildcard, thershold may be exceeded, changing this to warning --> | ||
<property name="severity" value="warning"/> | ||
</module> | ||
<module name="ConstantName"> <!-- Validates identifiers for constants (static, final fields). --> | ||
<property name="format" value="^log(ger)?|[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/> | ||
</module> | ||
<module name="DeclarationOrder"/> <!-- Class (static) variables, instance vars, constructors, methods --> | ||
<module name="EmptyCatchBlock"> <!-- Checks for empty catch blocks, | ||
except is if exception's variable name is expected or ignore or there's any comment inside: --> | ||
<property name="exceptionVariableName" value="expected|ignore"/> | ||
</module> | ||
<module name="VisibilityModifier"> <!-- Checks visibility of class members, allow package visibility of class members that are not | ||
static final, immutable or annotated by specified annotation members may be public --> | ||
<property name="packageAllowed" value="true"/> | ||
</module> | ||
<module name="StaticVariableName"/> <!-- Validates identifiers for static, non-final fields. ^[a-z][a-zA-Z0-9]*$ --> | ||
<module name="TypeName" /> <!-- Validates identifiers for classes, interfaces, enums, and annotations. --> | ||
<module name="SuppressWarningsHolder" /> <!-- provide @SuppressWarnings annotations --> | ||
</module> | ||
<module name="SuppressWarningsFilter" /> <!-- filter using @SuppressWarnings annotations --> | ||
</module> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters