From 76c01a98aab7687a500dc55a047aab13576a4cbd Mon Sep 17 00:00:00 2001 From: dotasek Date: Fri, 24 Feb 2023 15:05:49 -0500 Subject: [PATCH] Add basic checkstyle plugin config (#1122) Co-authored-by: dotasek --- checkstyle.xml | 27 +++++++++++++++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ org.hl7.fhir.r4/checkstyle_suppressions.xml | 8 ++++++ org.hl7.fhir.r4b/checkstyle_suppressions.xml | 8 ++++++ org.hl7.fhir.r5/checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ .../checkstyle_suppressions.xml | 8 ++++++ pom.xml | 20 +++++++++++--- 13 files changed, 132 insertions(+), 3 deletions(-) create mode 100644 checkstyle.xml create mode 100644 org.hl7.fhir.convertors/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.dstu2/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.dstu2016may/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.dstu3/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.r4/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.r4b/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.r5/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.report/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.utilities/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.validation.cli/checkstyle_suppressions.xml create mode 100644 org.hl7.fhir.validation/checkstyle_suppressions.xml diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 000000000..625428252 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.hl7.fhir.convertors/checkstyle_suppressions.xml b/org.hl7.fhir.convertors/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.convertors/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.dstu2/checkstyle_suppressions.xml b/org.hl7.fhir.dstu2/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.dstu2/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.dstu2016may/checkstyle_suppressions.xml b/org.hl7.fhir.dstu2016may/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.dstu2016may/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.dstu3/checkstyle_suppressions.xml b/org.hl7.fhir.dstu3/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.dstu3/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.r4/checkstyle_suppressions.xml b/org.hl7.fhir.r4/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.r4/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.r4b/checkstyle_suppressions.xml b/org.hl7.fhir.r4b/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.r4b/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.r5/checkstyle_suppressions.xml b/org.hl7.fhir.r5/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.r5/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.report/checkstyle_suppressions.xml b/org.hl7.fhir.report/checkstyle_suppressions.xml new file mode 100644 index 000000000..1c51453aa --- /dev/null +++ b/org.hl7.fhir.report/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.utilities/checkstyle_suppressions.xml b/org.hl7.fhir.utilities/checkstyle_suppressions.xml new file mode 100644 index 000000000..1291bd218 --- /dev/null +++ b/org.hl7.fhir.utilities/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.validation.cli/checkstyle_suppressions.xml b/org.hl7.fhir.validation.cli/checkstyle_suppressions.xml new file mode 100644 index 000000000..1291bd218 --- /dev/null +++ b/org.hl7.fhir.validation.cli/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/org.hl7.fhir.validation/checkstyle_suppressions.xml b/org.hl7.fhir.validation/checkstyle_suppressions.xml new file mode 100644 index 000000000..1291bd218 --- /dev/null +++ b/org.hl7.fhir.validation/checkstyle_suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/pom.xml b/pom.xml index 2704139c6..7d6d344c6 100644 --- a/pom.xml +++ b/pom.xml @@ -184,9 +184,22 @@ org.apache.maven.plugins maven-checkstyle-plugin - - true - + + + process-sources + + checkstyle + + + true + ${project.basedir}/checkstyle_suppressions.xml + true + true + true + ${project.basedir}/../checkstyle.xml + + + org.apache.maven.plugins @@ -417,6 +430,7 @@ +