diff options
Diffstat (limited to '.checkstyle')
-rw-r--r-- | .checkstyle | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.checkstyle b/.checkstyle new file mode 100644 index 0000000..7adf1e6 --- /dev/null +++ b/.checkstyle @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false"> + <local-check-config name="maven-checkstyle-plugin check-license" location="jar:file:/C:/Users/rn509j/.m2/repository/org/onap/oparent/checkstyle/0.1.1/checkstyle-0.1.1.jar!/onap-checkstyle/check-license.xml" type="remote" description="maven-checkstyle-plugin configuration check-license"> + <property name="checkstyle.cache.file" value="${project_loc}/target/checkstyle-cachefile"/> + <property name="checkstyle.header.file" value="C:\ONAP\.metadata\.plugins\org.eclipse.core.resources\.projects\dmaapClient\com.basistech.m2e.code.quality.checkstyleConfigurator\checkstyle-header-check-license.txt"/> + </local-check-config> + <local-check-config name="maven-checkstyle-plugin check-style" location="jar:file:/C:/Users/rn509j/.m2/repository/org/onap/oparent/checkstyle/0.1.1/checkstyle-0.1.1.jar!/onap-checkstyle/onap-java-style.xml" type="remote" description="maven-checkstyle-plugin configuration check-style"> + <property name="checkstyle.cache.file" value="${project_loc}/target/checkstyle-cachefile"/> + <property name="checkstyle.header.file" value="C:\ONAP\.metadata\.plugins\org.eclipse.core.resources\.projects\dmaapClient\com.basistech.m2e.code.quality.checkstyleConfigurator\checkstyle-header-check-style.txt"/> + </local-check-config> + <fileset name="java-sources-check-license" enabled="true" check-config-name="maven-checkstyle-plugin check-license" local="true"> + <file-match-pattern match-pattern="^src/main/java/.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^src/test/java/.*\.java" include-pattern="true"/> + </fileset> + <fileset name="java-sources-check-style" enabled="true" check-config-name="maven-checkstyle-plugin check-style" local="true"> + <file-match-pattern match-pattern="^src/main/java/src/main/java.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^src/main/java/.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^src/test/java/.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^src/main/resources/.*\.properties" include-pattern="true"/> + <file-match-pattern match-pattern="^src/main/resources/.*\.properties" include-pattern="true"/> + <file-match-pattern match-pattern="^src/test/resources/.*\.properties" include-pattern="true"/> + </fileset> +</fileset-config> |