diff options
-rw-r--r-- | .checkstyle | 23 | ||||
-rw-r--r-- | pom.xml | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/.checkstyle b/.checkstyle new file mode 100644 index 0000000..58de6e3 --- /dev/null +++ b/.checkstyle @@ -0,0 +1,23 @@ +<?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 onap-license" location="jar:file:/C:/Users/normant/.m2/repository/org/onap/oparent/checkstyle/1.2.1/checkstyle-1.2.1.jar!/onap-checkstyle/check-license.xml" type="remote" description="maven-checkstyle-plugin configuration onap-license"> + <property name="checkstyle.cache.file" value="${project_loc}/target/checkstyle-cachefile"/> + <property name="checkstyle.header.file" value="C:\Users\normant\eclipse-onap-aee\.metadata\.plugins\org.eclipse.core.resources\.projects\pomba-context-aggregator\com.basistech.m2e.code.quality.checkstyleConfigurator\checkstyle-header-onap-license.txt"/> + </local-check-config> + <local-check-config name="maven-checkstyle-plugin onap-java-style" location="jar:file:/C:/Users/normant/.m2/repository/org/onap/oparent/checkstyle/1.2.1/checkstyle-1.2.1.jar!/onap-checkstyle/onap-java-style.xml" type="remote" description="maven-checkstyle-plugin configuration onap-java-style"> + <property name="checkstyle.cache.file" value="${project_loc}/target/checkstyle-cachefile"/> + <property name="checkstyle.header.file" value="C:\Users\normant\eclipse-onap-aee\.metadata\.plugins\org.eclipse.core.resources\.projects\pomba-context-aggregator\com.basistech.m2e.code.quality.checkstyleConfigurator\checkstyle-header-onap-java-style.txt"/> + </local-check-config> + <fileset name="java-sources-onap-license" enabled="true" check-config-name="maven-checkstyle-plugin onap-license" local="true"> + <file-match-pattern match-pattern="^src/test/java/.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^src/main/java/.*\.java" include-pattern="true"/> + </fileset> + <fileset name="java-sources-onap-java-style" enabled="true" check-config-name="maven-checkstyle-plugin onap-java-style" local="true"> + <file-match-pattern match-pattern="^src/main/java/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/java/.*\.java" include-pattern="true"/> + <file-match-pattern match-pattern="^config/.*\.properties" include-pattern="true"/> + <file-match-pattern match-pattern="^src/test/resources/.*\.properties" include-pattern="true"/> + </fileset> +</fileset-config> @@ -71,7 +71,7 @@ <dependency> <groupId>org.onap.logging-analytics.pomba</groupId> <artifactId>pomba-audit-common</artifactId> - <version>1.4.0-SNAPSHOT</version> + <version>1.4.0</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> |