From 0d66e09a3f90ba32b8344d8beae0de09d2a42ce6 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sat, 20 Jun 2020 16:13:52 +0200 Subject: [PATCH 01/11] Add module-info.java --- api/src/main/java/module-info.java | 36 +++++++++++++++++++ core/src/main/java/module-info.java | 34 ++++++++++++++++++ .../specobject/src/main/java/module-info.java | 29 +++++++++++++++ .../markdown/src/main/java/module-info.java | 28 +++++++++++++++ .../specobject/src/main/java/module-info.java | 33 +++++++++++++++++ importer/tag/src/main/java/module-info.java | 28 +++++++++++++++ importer/zip/src/main/java/module-info.java | 28 +++++++++++++++ reporter/html/src/main/java/module-info.java | 29 +++++++++++++++ .../plaintext/src/main/java/module-info.java | 27 ++++++++++++++ 9 files changed, 272 insertions(+) create mode 100644 api/src/main/java/module-info.java create mode 100644 core/src/main/java/module-info.java create mode 100644 exporter/specobject/src/main/java/module-info.java create mode 100644 importer/markdown/src/main/java/module-info.java create mode 100644 importer/specobject/src/main/java/module-info.java create mode 100644 importer/tag/src/main/java/module-info.java create mode 100644 importer/zip/src/main/java/module-info.java create mode 100644 reporter/html/src/main/java/module-info.java create mode 100644 reporter/plaintext/src/main/java/module-info.java diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java new file mode 100644 index 00000000..67b7ad76 --- /dev/null +++ b/api/src/main/java/module-info.java @@ -0,0 +1,36 @@ +/*- + * #%L + * OpenFastTrace API + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.api +{ + exports org.itsallcode.openfasttrace.api.core; + exports org.itsallcode.openfasttrace.api.importer.input; + exports org.itsallcode.openfasttrace.api.importer.tag.config; + exports org.itsallcode.openfasttrace.api.cli; + exports org.itsallcode.openfasttrace.api; + exports org.itsallcode.openfasttrace.api.report; + exports org.itsallcode.openfasttrace.api.core.serviceloader; + exports org.itsallcode.openfasttrace.api.exporter; + exports org.itsallcode.openfasttrace.api.importer; + + requires java.compiler; + requires java.logging; +} diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java new file mode 100644 index 00000000..529821c2 --- /dev/null +++ b/core/src/main/java/module-info.java @@ -0,0 +1,34 @@ +/*- + * #%L + * OpenFastTrace Core + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.core +{ + exports org.itsallcode.openfasttrace.core.cli.commands; + exports org.itsallcode.openfasttrace.core.report; + exports org.itsallcode.openfasttrace.core.cli; + exports org.itsallcode.openfasttrace.core.exporter; + exports org.itsallcode.openfasttrace.core.importer; + exports org.itsallcode.openfasttrace.core.serviceloader; + exports org.itsallcode.openfasttrace.core; + + requires java.logging; + requires org.itsallcode.openfasttrace.api; +} diff --git a/exporter/specobject/src/main/java/module-info.java b/exporter/specobject/src/main/java/module-info.java new file mode 100644 index 00000000..f912194a --- /dev/null +++ b/exporter/specobject/src/main/java/module-info.java @@ -0,0 +1,29 @@ +/*- + * #%L + * OpenFastTrace Specobject Exporter + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.exporter.specobject +{ + exports org.itsallcode.openfasttrace.exporter.specobject; + + requires java.logging; + requires java.xml; + requires org.itsallcode.openfasttrace.api; +} diff --git a/importer/markdown/src/main/java/module-info.java b/importer/markdown/src/main/java/module-info.java new file mode 100644 index 00000000..203e936c --- /dev/null +++ b/importer/markdown/src/main/java/module-info.java @@ -0,0 +1,28 @@ +/*- + * #%L + * OpenFastTrace Markdown Importer + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.importer.markdown +{ + exports org.itsallcode.openfasttrace.importer.markdown; + + requires java.logging; + requires org.itsallcode.openfasttrace.api; +} diff --git a/importer/specobject/src/main/java/module-info.java b/importer/specobject/src/main/java/module-info.java new file mode 100644 index 00000000..7d4b6592 --- /dev/null +++ b/importer/specobject/src/main/java/module-info.java @@ -0,0 +1,33 @@ +/*- + * #%L + * OpenFastTrace Specobject Importer + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.importer.specobject +{ + exports org.itsallcode.openfasttrace.importer.specobject.xml.tree; + exports org.itsallcode.openfasttrace.importer.specobject.handler; + exports org.itsallcode.openfasttrace.importer.specobject.xml.event; + exports org.itsallcode.openfasttrace.importer.specobject; + exports org.itsallcode.openfasttrace.importer.specobject.xml; + + requires java.logging; + requires java.xml; + requires org.itsallcode.openfasttrace.api; +} diff --git a/importer/tag/src/main/java/module-info.java b/importer/tag/src/main/java/module-info.java new file mode 100644 index 00000000..001b7c93 --- /dev/null +++ b/importer/tag/src/main/java/module-info.java @@ -0,0 +1,28 @@ +/*- + * #%L + * OpenFastTrace Tag Importer + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.importer.tag +{ + exports org.itsallcode.openfasttrace.importer.tag; + + requires java.logging; + requires org.itsallcode.openfasttrace.api; +} diff --git a/importer/zip/src/main/java/module-info.java b/importer/zip/src/main/java/module-info.java new file mode 100644 index 00000000..89c65661 --- /dev/null +++ b/importer/zip/src/main/java/module-info.java @@ -0,0 +1,28 @@ +/*- + * #%L + * OpenFastTrace Zip Importer + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.importer.zip +{ + exports org.itsallcode.openfasttrace.importer.zip; + exports org.itsallcode.openfasttrace.importer.zip.input; + + requires org.itsallcode.openfasttrace.api; +} diff --git a/reporter/html/src/main/java/module-info.java b/reporter/html/src/main/java/module-info.java new file mode 100644 index 00000000..1f0fbe2c --- /dev/null +++ b/reporter/html/src/main/java/module-info.java @@ -0,0 +1,29 @@ +/*- + * #%L + * OpenFastTrace HTML Reporter + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.report.html +{ + exports org.itsallcode.openfasttrace.report.html; + exports org.itsallcode.openfasttrace.report.html.view.html; + exports org.itsallcode.openfasttrace.report.html.view; + + requires org.itsallcode.openfasttrace.api; +} diff --git a/reporter/plaintext/src/main/java/module-info.java b/reporter/plaintext/src/main/java/module-info.java new file mode 100644 index 00000000..4a5a1781 --- /dev/null +++ b/reporter/plaintext/src/main/java/module-info.java @@ -0,0 +1,27 @@ +/*- + * #%L + * OpenFastTrace Plaintext Reporter + * %% + * Copyright (C) 2016 - 2020 itsallcode.org + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ +module org.itsallcode.openfasttrace.report.plaintext +{ + exports org.itsallcode.openfasttrace.report.plaintext; + + requires org.itsallcode.openfasttrace.api; +} From 32957d7a19afb2e9e01eded2aba79241b8c1f407 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sat, 20 Jun 2020 16:20:57 +0200 Subject: [PATCH 02/11] Fix eclipse warning about classes not accessible --- core/src/main/java/module-info.java | 2 +- importer/markdown/src/main/java/module-info.java | 2 +- importer/specobject/src/main/java/module-info.java | 4 ++-- importer/tag/src/main/java/module-info.java | 2 +- importer/zip/src/main/java/module-info.java | 2 +- reporter/html/src/main/java/module-info.java | 2 +- reporter/plaintext/src/main/java/module-info.java | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java index 529821c2..4f8ded40 100644 --- a/core/src/main/java/module-info.java +++ b/core/src/main/java/module-info.java @@ -30,5 +30,5 @@ exports org.itsallcode.openfasttrace.core; requires java.logging; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/importer/markdown/src/main/java/module-info.java b/importer/markdown/src/main/java/module-info.java index 203e936c..a16b8014 100644 --- a/importer/markdown/src/main/java/module-info.java +++ b/importer/markdown/src/main/java/module-info.java @@ -24,5 +24,5 @@ exports org.itsallcode.openfasttrace.importer.markdown; requires java.logging; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/importer/specobject/src/main/java/module-info.java b/importer/specobject/src/main/java/module-info.java index 7d4b6592..e2b7ec8b 100644 --- a/importer/specobject/src/main/java/module-info.java +++ b/importer/specobject/src/main/java/module-info.java @@ -28,6 +28,6 @@ exports org.itsallcode.openfasttrace.importer.specobject.xml; requires java.logging; - requires java.xml; - requires org.itsallcode.openfasttrace.api; + requires transitive java.xml; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/importer/tag/src/main/java/module-info.java b/importer/tag/src/main/java/module-info.java index 001b7c93..0cd3ce7f 100644 --- a/importer/tag/src/main/java/module-info.java +++ b/importer/tag/src/main/java/module-info.java @@ -24,5 +24,5 @@ exports org.itsallcode.openfasttrace.importer.tag; requires java.logging; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/importer/zip/src/main/java/module-info.java b/importer/zip/src/main/java/module-info.java index 89c65661..ce100234 100644 --- a/importer/zip/src/main/java/module-info.java +++ b/importer/zip/src/main/java/module-info.java @@ -24,5 +24,5 @@ exports org.itsallcode.openfasttrace.importer.zip; exports org.itsallcode.openfasttrace.importer.zip.input; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/reporter/html/src/main/java/module-info.java b/reporter/html/src/main/java/module-info.java index 1f0fbe2c..8551dbe2 100644 --- a/reporter/html/src/main/java/module-info.java +++ b/reporter/html/src/main/java/module-info.java @@ -25,5 +25,5 @@ exports org.itsallcode.openfasttrace.report.html.view.html; exports org.itsallcode.openfasttrace.report.html.view; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } diff --git a/reporter/plaintext/src/main/java/module-info.java b/reporter/plaintext/src/main/java/module-info.java index 4a5a1781..b4d1a5cf 100644 --- a/reporter/plaintext/src/main/java/module-info.java +++ b/reporter/plaintext/src/main/java/module-info.java @@ -23,5 +23,5 @@ { exports org.itsallcode.openfasttrace.report.plaintext; - requires org.itsallcode.openfasttrace.api; + requires transitive org.itsallcode.openfasttrace.api; } From 3ed8379a11f42d09765aafce93a8138795b5d664 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Tue, 23 Jun 2020 18:18:56 +0200 Subject: [PATCH 03/11] Allow running unit tests with module system --- parent/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/parent/pom.xml b/parent/pom.xml index a5c3d670..b18dfbd4 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -297,6 +297,14 @@ ${basedir}/src/test/resources/logging.properties + + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api=ALL-UNNAMED + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.report=ALL-UNNAMED + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.importer=ALL-UNNAMED + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.importer.input=ALL-UNNAMED + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.input=ALL-UNNAMED + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.core=ALL-UNNAMED + From 15092be07f9d20e22714908b70d5dfefe1efda5a Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 14:54:18 +0200 Subject: [PATCH 04/11] Remove license header from module-info.java --- api/src/main/java/module-info.java | 21 ------------------- core/src/main/java/module-info.java | 21 ------------------- .../specobject/src/main/java/module-info.java | 21 ------------------- .../markdown/src/main/java/module-info.java | 21 ------------------- .../specobject/src/main/java/module-info.java | 21 ------------------- importer/tag/src/main/java/module-info.java | 21 ------------------- importer/zip/src/main/java/module-info.java | 21 ------------------- reporter/html/src/main/java/module-info.java | 21 ------------------- .../plaintext/src/main/java/module-info.java | 21 ------------------- 9 files changed, 189 deletions(-) diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java index 67b7ad76..b04d19bf 100644 --- a/api/src/main/java/module-info.java +++ b/api/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace API - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.api { exports org.itsallcode.openfasttrace.api.core; diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java index 4f8ded40..59e3620d 100644 --- a/core/src/main/java/module-info.java +++ b/core/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Core - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.core { exports org.itsallcode.openfasttrace.core.cli.commands; diff --git a/exporter/specobject/src/main/java/module-info.java b/exporter/specobject/src/main/java/module-info.java index f912194a..5c457798 100644 --- a/exporter/specobject/src/main/java/module-info.java +++ b/exporter/specobject/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Specobject Exporter - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.exporter.specobject { exports org.itsallcode.openfasttrace.exporter.specobject; diff --git a/importer/markdown/src/main/java/module-info.java b/importer/markdown/src/main/java/module-info.java index a16b8014..63329949 100644 --- a/importer/markdown/src/main/java/module-info.java +++ b/importer/markdown/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Markdown Importer - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.importer.markdown { exports org.itsallcode.openfasttrace.importer.markdown; diff --git a/importer/specobject/src/main/java/module-info.java b/importer/specobject/src/main/java/module-info.java index e2b7ec8b..5019581a 100644 --- a/importer/specobject/src/main/java/module-info.java +++ b/importer/specobject/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Specobject Importer - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.importer.specobject { exports org.itsallcode.openfasttrace.importer.specobject.xml.tree; diff --git a/importer/tag/src/main/java/module-info.java b/importer/tag/src/main/java/module-info.java index 0cd3ce7f..097453eb 100644 --- a/importer/tag/src/main/java/module-info.java +++ b/importer/tag/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Tag Importer - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.importer.tag { exports org.itsallcode.openfasttrace.importer.tag; diff --git a/importer/zip/src/main/java/module-info.java b/importer/zip/src/main/java/module-info.java index ce100234..fff2d17a 100644 --- a/importer/zip/src/main/java/module-info.java +++ b/importer/zip/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Zip Importer - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.importer.zip { exports org.itsallcode.openfasttrace.importer.zip; diff --git a/reporter/html/src/main/java/module-info.java b/reporter/html/src/main/java/module-info.java index 8551dbe2..a8057751 100644 --- a/reporter/html/src/main/java/module-info.java +++ b/reporter/html/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace HTML Reporter - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.report.html { exports org.itsallcode.openfasttrace.report.html; diff --git a/reporter/plaintext/src/main/java/module-info.java b/reporter/plaintext/src/main/java/module-info.java index b4d1a5cf..ad3f9bc9 100644 --- a/reporter/plaintext/src/main/java/module-info.java +++ b/reporter/plaintext/src/main/java/module-info.java @@ -1,24 +1,3 @@ -/*- - * #%L - * OpenFastTrace Plaintext Reporter - * %% - * Copyright (C) 2016 - 2020 itsallcode.org - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * . - * #L% - */ module org.itsallcode.openfasttrace.report.plaintext { exports org.itsallcode.openfasttrace.report.plaintext; From 50d0f98d0bcfaaa410e7c91e98fbfb76b6c49c2e Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 15:32:25 +0200 Subject: [PATCH 05/11] Fix module configuration --- core/src/main/java/module-info.java | 4 ++++ exporter/common/src/main/java/module-info.java | 8 ++++++++ exporter/specobject/src/main/java/module-info.java | 1 + parent/pom.xml | 11 ++++++----- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 exporter/common/src/main/java/module-info.java diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java index 59e3620d..4d8d2c8f 100644 --- a/core/src/main/java/module-info.java +++ b/core/src/main/java/module-info.java @@ -10,4 +10,8 @@ requires java.logging; requires transitive org.itsallcode.openfasttrace.api; + + uses org.itsallcode.openfasttrace.api.exporter.ExporterFactory; + uses org.itsallcode.openfasttrace.api.importer.ImporterFactory; + uses org.itsallcode.openfasttrace.api.report.ReporterFactory; } diff --git a/exporter/common/src/main/java/module-info.java b/exporter/common/src/main/java/module-info.java new file mode 100644 index 00000000..1d328daa --- /dev/null +++ b/exporter/common/src/main/java/module-info.java @@ -0,0 +1,8 @@ +module org.itsallcode.openfasttrace.exporter.common +{ + exports org.itsallcode.openfasttrace.exporter.common; + + requires java.logging; + requires java.xml; + requires org.itsallcode.openfasttrace.api; +} diff --git a/exporter/specobject/src/main/java/module-info.java b/exporter/specobject/src/main/java/module-info.java index 5c457798..ca10f7c1 100644 --- a/exporter/specobject/src/main/java/module-info.java +++ b/exporter/specobject/src/main/java/module-info.java @@ -5,4 +5,5 @@ requires java.logging; requires java.xml; requires org.itsallcode.openfasttrace.api; + requires org.itsallcode.openfasttrace.exporter.common; } diff --git a/parent/pom.xml b/parent/pom.xml index 62c44fa9..e572ca93 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -315,12 +315,13 @@ ${basedir}/src/test/resources/logging.properties + true - --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api=ALL-UNNAMED - --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.report=ALL-UNNAMED - --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.importer=ALL-UNNAMED - --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.importer.input=ALL-UNNAMED - --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.input=ALL-UNNAMED + --illegal-access=deny + --add-opens org.itsallcode.openfasttrace.api/org.itsallcode.openfasttrace.api.core=ALL-UNNAMED From 385c980745db3a8b87d868ab069d4381fdc721ec Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 15:51:01 +0200 Subject: [PATCH 06/11] Add javadoc to module-info --- api/src/main/java/module-info.java | 13 ++++++++----- core/src/main/java/module-info.java | 11 +++++++++-- exporter/common/src/main/java/module-info.java | 5 ++++- exporter/specobject/src/main/java/module-info.java | 3 +++ importer/markdown/src/main/java/module-info.java | 3 +++ importer/specobject/src/main/java/module-info.java | 9 ++++++--- importer/tag/src/main/java/module-info.java | 3 +++ importer/zip/src/main/java/module-info.java | 3 +++ reporter/html/src/main/java/module-info.java | 5 ++++- reporter/plaintext/src/main/java/module-info.java | 3 +++ 10 files changed, 46 insertions(+), 12 deletions(-) diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java index b04d19bf..207193e8 100644 --- a/api/src/main/java/module-info.java +++ b/api/src/main/java/module-info.java @@ -1,14 +1,17 @@ +/** + * The general OpenFastTrace API used by all modules. + */ module org.itsallcode.openfasttrace.api { + exports org.itsallcode.openfasttrace.api; exports org.itsallcode.openfasttrace.api.core; + exports org.itsallcode.openfasttrace.api.core.serviceloader; + exports org.itsallcode.openfasttrace.api.cli; + exports org.itsallcode.openfasttrace.api.importer; exports org.itsallcode.openfasttrace.api.importer.input; exports org.itsallcode.openfasttrace.api.importer.tag.config; - exports org.itsallcode.openfasttrace.api.cli; - exports org.itsallcode.openfasttrace.api; - exports org.itsallcode.openfasttrace.api.report; - exports org.itsallcode.openfasttrace.api.core.serviceloader; exports org.itsallcode.openfasttrace.api.exporter; - exports org.itsallcode.openfasttrace.api.importer; + exports org.itsallcode.openfasttrace.api.report; requires java.compiler; requires java.logging; diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java index 4d8d2c8f..9a911842 100644 --- a/core/src/main/java/module-info.java +++ b/core/src/main/java/module-info.java @@ -1,12 +1,19 @@ +/** + * The Core OpenFastTrace module. + * + * @uses org.itsallcode.openfasttrace.api.report.ReporterFactory + * @uses org.itsallcode.openfasttrace.api.importer.ImporterFactory + * @uses org.itsallcode.openfasttrace.api.exporter.ExporterFactory + */ module org.itsallcode.openfasttrace.core { + exports org.itsallcode.openfasttrace.core; + exports org.itsallcode.openfasttrace.core.cli; exports org.itsallcode.openfasttrace.core.cli.commands; exports org.itsallcode.openfasttrace.core.report; - exports org.itsallcode.openfasttrace.core.cli; exports org.itsallcode.openfasttrace.core.exporter; exports org.itsallcode.openfasttrace.core.importer; exports org.itsallcode.openfasttrace.core.serviceloader; - exports org.itsallcode.openfasttrace.core; requires java.logging; requires transitive org.itsallcode.openfasttrace.api; diff --git a/exporter/common/src/main/java/module-info.java b/exporter/common/src/main/java/module-info.java index 1d328daa..6a5fe4d9 100644 --- a/exporter/common/src/main/java/module-info.java +++ b/exporter/common/src/main/java/module-info.java @@ -1,8 +1,11 @@ +/** + * Common classes for XML exporters. + */ module org.itsallcode.openfasttrace.exporter.common { exports org.itsallcode.openfasttrace.exporter.common; requires java.logging; - requires java.xml; + requires transitive java.xml; requires org.itsallcode.openfasttrace.api; } diff --git a/exporter/specobject/src/main/java/module-info.java b/exporter/specobject/src/main/java/module-info.java index ca10f7c1..8eaff6ff 100644 --- a/exporter/specobject/src/main/java/module-info.java +++ b/exporter/specobject/src/main/java/module-info.java @@ -1,3 +1,6 @@ +/** + * This provides an exporter for the SpecObject XML format. + */ module org.itsallcode.openfasttrace.exporter.specobject { exports org.itsallcode.openfasttrace.exporter.specobject; diff --git a/importer/markdown/src/main/java/module-info.java b/importer/markdown/src/main/java/module-info.java index 63329949..68d2c02f 100644 --- a/importer/markdown/src/main/java/module-info.java +++ b/importer/markdown/src/main/java/module-info.java @@ -1,3 +1,6 @@ +/** + * This provides an importer for the MarkDown format. + */ module org.itsallcode.openfasttrace.importer.markdown { exports org.itsallcode.openfasttrace.importer.markdown; diff --git a/importer/specobject/src/main/java/module-info.java b/importer/specobject/src/main/java/module-info.java index 5019581a..9100acd2 100644 --- a/importer/specobject/src/main/java/module-info.java +++ b/importer/specobject/src/main/java/module-info.java @@ -1,10 +1,13 @@ +/** + * This provides an importer for the SpecObject XML format. + */ module org.itsallcode.openfasttrace.importer.specobject { - exports org.itsallcode.openfasttrace.importer.specobject.xml.tree; - exports org.itsallcode.openfasttrace.importer.specobject.handler; - exports org.itsallcode.openfasttrace.importer.specobject.xml.event; exports org.itsallcode.openfasttrace.importer.specobject; + exports org.itsallcode.openfasttrace.importer.specobject.handler; exports org.itsallcode.openfasttrace.importer.specobject.xml; + exports org.itsallcode.openfasttrace.importer.specobject.xml.tree; + exports org.itsallcode.openfasttrace.importer.specobject.xml.event; requires java.logging; requires transitive java.xml; diff --git a/importer/tag/src/main/java/module-info.java b/importer/tag/src/main/java/module-info.java index 097453eb..4c9f9537 100644 --- a/importer/tag/src/main/java/module-info.java +++ b/importer/tag/src/main/java/module-info.java @@ -1,3 +1,6 @@ +/** + * This provides an importer for coverage tags. + */ module org.itsallcode.openfasttrace.importer.tag { exports org.itsallcode.openfasttrace.importer.tag; diff --git a/importer/zip/src/main/java/module-info.java b/importer/zip/src/main/java/module-info.java index fff2d17a..26cf618a 100644 --- a/importer/zip/src/main/java/module-info.java +++ b/importer/zip/src/main/java/module-info.java @@ -1,3 +1,6 @@ +/** + * This provides an importer for the ZIP files. + */ module org.itsallcode.openfasttrace.importer.zip { exports org.itsallcode.openfasttrace.importer.zip; diff --git a/reporter/html/src/main/java/module-info.java b/reporter/html/src/main/java/module-info.java index a8057751..f4087a14 100644 --- a/reporter/html/src/main/java/module-info.java +++ b/reporter/html/src/main/java/module-info.java @@ -1,8 +1,11 @@ +/** + * This provides an report generator for the HTML format. + */ module org.itsallcode.openfasttrace.report.html { exports org.itsallcode.openfasttrace.report.html; - exports org.itsallcode.openfasttrace.report.html.view.html; exports org.itsallcode.openfasttrace.report.html.view; + exports org.itsallcode.openfasttrace.report.html.view.html; requires transitive org.itsallcode.openfasttrace.api; } diff --git a/reporter/plaintext/src/main/java/module-info.java b/reporter/plaintext/src/main/java/module-info.java index ad3f9bc9..3cf71adb 100644 --- a/reporter/plaintext/src/main/java/module-info.java +++ b/reporter/plaintext/src/main/java/module-info.java @@ -1,3 +1,6 @@ +/** + * This provides an report generator for the plain text format. + */ module org.itsallcode.openfasttrace.report.plaintext { exports org.itsallcode.openfasttrace.report.plaintext; From 1b7ccab4ce59718a4bd5a04505424a625d832d57 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 16:07:19 +0200 Subject: [PATCH 07/11] Add missing module-info for aspec reporter --- reporter/aspec/src/main/java/module-info.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 reporter/aspec/src/main/java/module-info.java diff --git a/reporter/aspec/src/main/java/module-info.java b/reporter/aspec/src/main/java/module-info.java new file mode 100644 index 00000000..d3a0d6be --- /dev/null +++ b/reporter/aspec/src/main/java/module-info.java @@ -0,0 +1,12 @@ +/** + * This provides an report generator for the Aspec format. + */ +module org.itsallcode.openfasttrace.report.aspec +{ + exports org.itsallcode.openfasttrace.report.aspec; + + requires java.xml; + requires java.logging; + requires org.itsallcode.openfasttrace.api; + requires org.itsallcode.openfasttrace.exporter.common; +} From 50fb59260e4b770981eebae28e12093dbd949b87 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 16:12:57 +0200 Subject: [PATCH 08/11] Fix javadoc warnings --- product/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product/pom.xml b/product/pom.xml index b70a4217..6a8ec3f1 100644 --- a/product/pom.xml +++ b/product/pom.xml @@ -107,6 +107,10 @@ maven-javadoc-plugin true + + false From 03695fa7de928bbdf8acd53f135054310aa27ae3 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 16:34:09 +0200 Subject: [PATCH 09/11] Fix building javadoc [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:jar (attach-javadocs) on project openfasttrace: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - error: bad value for --patch-module option: 'org.itsallcode.openfasttrace.exporter.common=' [ERROR] [ERROR] Command line was: /usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc -html5 @options @packages @argfile [ERROR] [ERROR] Refer to the generated Javadoc files in '/home/chris/git/openfasttrace/product/target/apidocs' dir. --- product/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/pom.xml b/product/pom.xml index 6a8ec3f1..928da8a6 100644 --- a/product/pom.xml +++ b/product/pom.xml @@ -18,6 +18,10 @@ org.itsallcode.openfasttrace openfasttrace-core + + org.itsallcode.openfasttrace + openfasttrace-exporter-common + org.itsallcode.openfasttrace openfasttrace-exporter-specobject @@ -107,10 +111,6 @@ maven-javadoc-plugin true - - false From 720e507437707454527ae0c1e5671df54b6427c6 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 16:39:32 +0200 Subject: [PATCH 10/11] Avoid dependency on module java.compiler --- api/src/main/java/module-info.java | 1 - .../org/itsallcode/openfasttrace/api/FilterSettings.java | 5 +---- .../java/org/itsallcode/openfasttrace/api/core/Location.java | 4 ---- .../itsallcode/openfasttrace/api/core/SpecificationItem.java | 4 ---- .../openfasttrace/api/core/SpecificationItemId.java | 5 ----- .../org/itsallcode/openfasttrace/api/core/TracedLink.java | 4 ---- 6 files changed, 1 insertion(+), 22 deletions(-) diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java index 207193e8..15fa9c9c 100644 --- a/api/src/main/java/module-info.java +++ b/api/src/main/java/module-info.java @@ -13,6 +13,5 @@ exports org.itsallcode.openfasttrace.api.exporter; exports org.itsallcode.openfasttrace.api.report; - requires java.compiler; requires java.logging; } diff --git a/api/src/main/java/org/itsallcode/openfasttrace/api/FilterSettings.java b/api/src/main/java/org/itsallcode/openfasttrace/api/FilterSettings.java index c947ea71..e704c09c 100644 --- a/api/src/main/java/org/itsallcode/openfasttrace/api/FilterSettings.java +++ b/api/src/main/java/org/itsallcode/openfasttrace/api/FilterSettings.java @@ -1,9 +1,8 @@ package org.itsallcode.openfasttrace.api; + import java.util.Collections; import java.util.Set; -import javax.annotation.processing.Generated; - /** * Settings for import filtering */ @@ -78,7 +77,6 @@ public boolean isAnyCriteriaSet() return isArtifactTypeCriteriaSet() || isTagCriteriaSet(); } - @Generated("org.eclipse.Eclipse") @Override public int hashCode() { @@ -91,7 +89,6 @@ public int hashCode() return result; } - @Generated("org.eclipse.Eclipse") @Override public boolean equals(final Object obj) { diff --git a/api/src/main/java/org/itsallcode/openfasttrace/api/core/Location.java b/api/src/main/java/org/itsallcode/openfasttrace/api/core/Location.java index 100902cf..215ff3d9 100644 --- a/api/src/main/java/org/itsallcode/openfasttrace/api/core/Location.java +++ b/api/src/main/java/org/itsallcode/openfasttrace/api/core/Location.java @@ -1,7 +1,5 @@ package org.itsallcode.openfasttrace.api.core; -import javax.annotation.processing.Generated; - /** * The location of a coverage item. */ @@ -111,7 +109,6 @@ public int getColumn() return this.column; } - @Generated(value = "org.eclipse.Eclipse") @Override public int hashCode() { @@ -123,7 +120,6 @@ public int hashCode() return result; } - @Generated(value = "org.eclipse.Eclipse") @Override public boolean equals(final Object obj) { diff --git a/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItem.java b/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItem.java index a18095de..435c93d4 100644 --- a/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItem.java +++ b/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItem.java @@ -4,8 +4,6 @@ import java.util.List; import java.util.Objects; -import javax.annotation.processing.Generated; - /** * A specification item that requires coverage from other items and provides * coverage for other items. @@ -222,7 +220,6 @@ public boolean isForwarding() return this.forwards; } - @Generated(value = "org.eclipse.Eclipse") @Override public final int hashCode() { @@ -244,7 +241,6 @@ public final int hashCode() return result; } - @Generated(value = "org.eclipse.Eclipse") @Override public final boolean equals(final Object obj) { diff --git a/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItemId.java b/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItemId.java index 29d08785..08457683 100644 --- a/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItemId.java +++ b/api/src/main/java/org/itsallcode/openfasttrace/api/core/SpecificationItemId.java @@ -1,12 +1,9 @@ package org.itsallcode.openfasttrace.api.core; import java.util.logging.Logger; - import java.util.regex.Matcher; import java.util.regex.Pattern; -import javax.annotation.processing.Generated; - /** * Specification item ID * @@ -92,7 +89,6 @@ public String getArtifactType() } @Override - @Generated(value = "org.eclipse.Eclipse") public final int hashCode() { final int prime = 31; @@ -104,7 +100,6 @@ public final int hashCode() } @Override - @Generated(value = "org.eclipse.Eclipse") public final boolean equals(final Object obj) { if (this == obj) diff --git a/api/src/main/java/org/itsallcode/openfasttrace/api/core/TracedLink.java b/api/src/main/java/org/itsallcode/openfasttrace/api/core/TracedLink.java index fedb522e..c75a5330 100644 --- a/api/src/main/java/org/itsallcode/openfasttrace/api/core/TracedLink.java +++ b/api/src/main/java/org/itsallcode/openfasttrace/api/core/TracedLink.java @@ -1,7 +1,5 @@ package org.itsallcode.openfasttrace.api.core; -import javax.annotation.processing.Generated; - /** * This class represents a link that had its status evaluated during a trace * run. @@ -61,7 +59,6 @@ public boolean isOutgoing() return this.status.isOutgoing(); } - @Generated(value = "org.eclipse.Eclipse") @Override public int hashCode() { @@ -72,7 +69,6 @@ public int hashCode() return result; } - @Generated(value = "org.eclipse.Eclipse") @Override public boolean equals(final Object obj) { From 17a207de58166633bf36c8606bd5dc74d882ff37 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sun, 14 Aug 2022 16:51:14 +0200 Subject: [PATCH 11/11] Add changelog entry --- doc/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index ef58e072..99c7629b 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added support for C# files with postfix `.cs` [#326](https://github.com/itsallcode/openfasttrace/issues/326) / [PR #327](https://github.com/itsallcode/openfasttrace/pull/327) - Added support for Robot Framework with postfix `.robot` [#302](https://github.com/itsallcode/openfasttrace/issues/302) / [PR #332](https://github.com/itsallcode/openfasttrace/pull/332) - Upload self-tracing report to GitHub Action result [#246](https://github.com/itsallcode/openfasttrace/issues/246) / [PR #333](https://github.com/itsallcode/openfasttrace/pull/333) +- Added `module-info.java` files to support Java modules [#334](https://github.com/itsallcode/openfasttrace/pull/334) ### Refactoring