diff --git a/.gitignore b/.gitignore index c5d7a960a..c61247feb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .classpath +.DS_Store .project .settings .metadata diff --git a/omid-checkstyle/pom.xml b/omid-checkstyle/pom.xml new file mode 100644 index 000000000..125ff47d4 --- /dev/null +++ b/omid-checkstyle/pom.xml @@ -0,0 +1,39 @@ + + + + + 4.0.0 + org.apache.omid + omid-checkstyle + 1.0.3-SNAPSHOT + omid - checkstyle + + + + + maven-site-plugin + + true + + + + maven-assembly-plugin + + true + + + + + \ No newline at end of file diff --git a/misc/omid_checks.xml b/omid-checkstyle/src/main/resources/omid/checkstyle.xml similarity index 90% rename from misc/omid_checks.xml rename to omid-checkstyle/src/main/resources/omid/checkstyle.xml index e69d26fc9..782574c39 100644 --- a/misc/omid_checks.xml +++ b/omid-checkstyle/src/main/resources/omid/checkstyle.xml @@ -8,7 +8,7 @@ from Google Java Style: https://google.github.io/styleguide/javaguide.html. Omid's style main modifications in Modules below: - - LineLength & LeftCurly.maxLineLength: 120 chars instead of 100 + - LineLength: 120 chars instead of 100 - Indentation params: 4 spaces instead of 2 - AbbreviationAsWordInName.allowedAbbreviationLength: 4 instead of 1 --> @@ -25,7 +25,10 @@ - + + + + @@ -38,11 +41,6 @@ - - - - - @@ -50,10 +48,7 @@ - - - - + @@ -158,11 +153,6 @@ - - - - - @@ -188,11 +178,8 @@ - - - @@ -206,6 +193,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 41cba743b..a667215d1 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,7 @@ + omid-checkstyle benchmarks common statemachine @@ -203,7 +204,7 @@ 2.7 2.11 3.4 - 2.17 + 3.1.1 2.3 3.0.1 5.3.2 @@ -331,6 +332,38 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + + org.apache.omid + omid-checkstyle + ${project.version} + + + + omid/checkstyle.xml + UTF-8 + true + + + + true + false + true + + + + validate + validate + + check + + + + org.apache.maven.plugins @@ -684,15 +717,6 @@ ${maven-jxr-plugin.version} - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - misc/omid_checks.xml - - - org.apache.maven.plugins maven-pmd-plugin