Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checkstyle med config-fil i separat build-tools project
- Loading branch information
1 parent
dd17a67
commit 61f71be
Showing
6 changed files
with
133 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>dk.nsi.stamdata</groupId> | ||
<artifactId>build-tools</artifactId> | ||
<version>3.1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Stamdata Build Tools</name> | ||
</project> |
33 changes: 33 additions & 0 deletions
33
common/build-tools/src/main/resources/sdm/sdm_checkstyle_config.xml
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,33 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | ||
|
||
<module name="Checker"> | ||
<!--<module name="FileTabCharacter">--> | ||
<!--<property name="eachLine" value="true"/>--> | ||
<!--</module>--> | ||
|
||
<!--<module name="RegexpSingleline">--> | ||
<!--<!– \s matches whitespace character, $ matches end of line. –>--> | ||
<!--<property name="format" value="\s+$"/>--> | ||
<!--<property name="message" value="Line has trailing spaces."/>--> | ||
<!--</module>--> | ||
|
||
<module name="TreeWalker"> | ||
<property name="cacheFile" value="${checkstyle.cache.file}"/> | ||
|
||
<!--<module name="IllegalImport"/> <!– defaults to sun.* packages –>--> | ||
<!--<module name="RedundantImport"/>--> | ||
<!--<module name="UnusedImports"/>--> | ||
|
||
|
||
<!--<!– Checks for blocks. You know, those {}'s –>--> | ||
<!--<!– See http://checkstyle.sf.net/config_blocks.html –>--> | ||
<!--<module name="AvoidNestedBlocks"/>--> | ||
<!--<module name="EmptyBlock"/>--> | ||
<!--<module name="LeftCurly"/>--> | ||
<!--<module name="NeedBraces"/>--> | ||
<!--<module name="RightCurly"/>--> | ||
</module> | ||
</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
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 |
---|---|---|
|
@@ -197,6 +197,6 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</plugins> | ||
</build> | ||
</project> |
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