You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/12/29 16:09:10 UTC

[maven-project-info-reports-plugin] branch master updated (bb7569d -> 2d81a97)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git.


    from bb7569d  Bump junit from 4.13 to 4.13.1
     new 3233e05  Code refactor to easier add new CI System
     new 2d81a97  [MPIR-391] Continuous Integration support for GitHub Actions

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../report/projectinfo/CiManagementReport.java     | 83 +++++++++-------------
 src/main/resources/project-info-reports.properties |  1 +
 .../resources/project-info-reports_cs.properties   |  1 +
 .../resources/project-info-reports_de.properties   |  1 +
 .../resources/project-info-reports_es.properties   |  1 +
 .../resources/project-info-reports_fr.properties   |  1 +
 .../resources/project-info-reports_gl.properties   |  1 +
 .../resources/project-info-reports_hu.properties   |  1 +
 .../resources/project-info-reports_it.properties   |  1 +
 .../resources/project-info-reports_ja.properties   |  1 +
 .../resources/project-info-reports_ko.properties   |  1 +
 .../resources/project-info-reports_lt.properties   |  1 +
 .../resources/project-info-reports_nl.properties   |  1 +
 .../resources/project-info-reports_no.properties   |  1 +
 .../resources/project-info-reports_pl.properties   |  1 +
 .../resources/project-info-reports_pt.properties   |  1 +
 .../project-info-reports_pt_BR.properties          |  1 +
 .../resources/project-info-reports_ru.properties   |  1 +
 .../resources/project-info-reports_sk.properties   |  1 +
 .../resources/project-info-reports_sv.properties   |  1 +
 .../resources/project-info-reports_tr.properties   |  1 +
 .../project-info-reports_zh_CN.properties          |  1 +
 .../project-info-reports_zh_TW.properties          |  1 +
 23 files changed, 54 insertions(+), 51 deletions(-)


[maven-project-info-reports-plugin] 02/02: [MPIR-391] Continuous Integration support for GitHub Actions

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit 2d81a9739c93a3286ffe97d23b64dc7805d95e12
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Dec 27 12:08:42 2020 +0100

    [MPIR-391] Continuous Integration support for GitHub Actions
    
    This closes #27
---
 .../java/org/apache/maven/report/projectinfo/CiManagementReport.java     | 1 +
 src/main/resources/project-info-reports.properties                       | 1 +
 src/main/resources/project-info-reports_cs.properties                    | 1 +
 src/main/resources/project-info-reports_de.properties                    | 1 +
 src/main/resources/project-info-reports_es.properties                    | 1 +
 src/main/resources/project-info-reports_fr.properties                    | 1 +
 src/main/resources/project-info-reports_gl.properties                    | 1 +
 src/main/resources/project-info-reports_hu.properties                    | 1 +
 src/main/resources/project-info-reports_it.properties                    | 1 +
 src/main/resources/project-info-reports_ja.properties                    | 1 +
 src/main/resources/project-info-reports_ko.properties                    | 1 +
 src/main/resources/project-info-reports_lt.properties                    | 1 +
 src/main/resources/project-info-reports_nl.properties                    | 1 +
 src/main/resources/project-info-reports_no.properties                    | 1 +
 src/main/resources/project-info-reports_pl.properties                    | 1 +
 src/main/resources/project-info-reports_pt.properties                    | 1 +
 src/main/resources/project-info-reports_pt_BR.properties                 | 1 +
 src/main/resources/project-info-reports_ru.properties                    | 1 +
 src/main/resources/project-info-reports_sk.properties                    | 1 +
 src/main/resources/project-info-reports_sv.properties                    | 1 +
 src/main/resources/project-info-reports_tr.properties                    | 1 +
 src/main/resources/project-info-reports_zh_CN.properties                 | 1 +
 src/main/resources/project-info-reports_zh_TW.properties                 | 1 +
 23 files changed, 23 insertions(+)

diff --git a/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java b/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
index 3d8a991..91b8dd8 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
@@ -98,6 +98,7 @@ public class CiManagementReport
                 "buildforge",
                 "continuum",
                 "cruisecontrol",
+                "github",
                 "hudson",
                 "jenkins",
                 "luntbuild",
diff --git a/src/main/resources/project-info-reports.properties b/src/main/resources/project-info-reports.properties
index b5b0ca9..c6cee03 100644
--- a/src/main/resources/project-info-reports.properties
+++ b/src/main/resources/project-info-reports.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = This projec
 report.ci-management.cruisecontrol.intro                           = This project uses {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = This document lists the continuous integration management system of this project for building and testing code on a frequent, regular basis.
 report.ci-management.general.intro                                 = This project uses Continuous Integration System.
+report.ci-management.github.intro                                  = This project uses {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = This project uses {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = This project uses {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = This project uses {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_cs.properties b/src/main/resources/project-info-reports_cs.properties
index 8c9f86f..9cb82e6 100644
--- a/src/main/resources/project-info-reports_cs.properties
+++ b/src/main/resources/project-info-reports_cs.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Tento proje
 report.ci-management.cruisecontrol.intro                           = Tento projekt pou\u017e\u00edv\u00e1 {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Tento odkaz vede na definice v\u0161ech proces\u016f nep\u0159etr\u017eit\u00e9 integrace, kter\u00e9 pravideln\u011b a \u010dasto sestavuj\u00ed a testuj\u00ed k\u00f3d.
 report.ci-management.general.intro                                 = Tento projekt pou\u017e\u00edv\u00e1 syst\u00e9m nep\u0159etr\u017eit\u00e9 integrace.
+report.ci-management.github.intro                                  = Tento projekt pou\u017E\u00EDv\u00E1 {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Tento projekt pou\u017e\u00edv\u00e1 {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Tento projekt pou\u017e\u00edv\u00e1 {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Tento projekt pou\u017e\u00edv\u00e1 {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_de.properties b/src/main/resources/project-info-reports_de.properties
index 7e20b04..b916c7d 100644
--- a/src/main/resources/project-info-reports_de.properties
+++ b/src/main/resources/project-info-reports_de.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Dieses Proj
 report.ci-management.cruisecontrol.intro                           = Dieses Projekt verwendet {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Informationen \u00fcber das Continuous-Integration-System dieses Projektes.
 report.ci-management.general.intro                                 = Dieses Projekt verwendet ein Continuous Integration System.
+report.ci-management.github.intro                                  = Dieses Projekt verwendet {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Dieses Projekt verwendet {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Dieses Projekt verwendet {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Dieses Projekt verwendet {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_es.properties b/src/main/resources/project-info-reports_es.properties
index f500696..a94e574 100644
--- a/src/main/resources/project-info-reports_es.properties
+++ b/src/main/resources/project-info-reports_es.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Este proyec
 report.ci-management.cruisecontrol.intro                           = Este proyecto usa {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Enlace a las definiciones de los procesos de integraci\u00f3n continua que construyen y prueban el c\u00f3digo de forma frecuente y regular.
 report.ci-management.general.intro                                 = Este proyecto usa un Sistema de Integraci\u00f3n Continua
+report.ci-management.github.intro                                  = Este proyecto usa {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Este proyecto usa {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Este proyecto usa {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Este proyecto usa {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_fr.properties b/src/main/resources/project-info-reports_fr.properties
index 4c212dd..f73c01a 100644
--- a/src/main/resources/project-info-reports_fr.properties
+++ b/src/main/resources/project-info-reports_fr.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Ce projet u
 report.ci-management.cruisecontrol.intro                           = Ce projet utilise {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = C'est un lien au syst\u00e8me d'int\u00e9gration continue pour ce projet qui construit et teste le code de mani\u00e8re fr\u00e9quente.
 report.ci-management.general.intro                                 = Ce projet utilise un syst\u00e8me d'int\u00e9gration continue.
+report.ci-management.github.intro                                  = Ce projet utilise {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Ce projet utilise {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Ce projet utilise {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Ce projet utilise {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_gl.properties b/src/main/resources/project-info-reports_gl.properties
index e555c95..23cd5c2 100644
--- a/src/main/resources/project-info-reports_gl.properties
+++ b/src/main/resources/project-info-reports_gl.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Este proxec
 report.ci-management.cruisecontrol.intro                           = Este proxecto usa {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Enlace \u00E1s definicio\u00F3ns dos procesos de integraci\u00f3n continua que constr\u00FAen e proban o c\u00f3digo de forma frecuente e regular.
 report.ci-management.general.intro                                 = Este proxecto usa un Sistema de Integraci\u00f3n Continua
+report.ci-management.github.intro                                  = Este proxecto usa {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Este proxecto usa {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Este proxecto usa {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Este proxecto usa {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_hu.properties b/src/main/resources/project-info-reports_hu.properties
index 5a3d927..c868d3a 100644
--- a/src/main/resources/project-info-reports_hu.properties
+++ b/src/main/resources/project-info-reports_hu.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Ez a projek
 report.ci-management.cruisecontrol.intro                           = Ez a projekt {CruiseControl, http://cruisecontrol.sourceforge.net/} rendszert haszn\u00C3\u00A1l.
 report.ci-management.description                                   = Link a CI folyamatok meghat\u00e1roz\u00e1saira, amelyek rendszeresen \u00e9s gyakran v\u00e9grehajtj\u00e1k a ford\u00edt\u00e1st \u00e9s a tesztel\u00e9st.
 report.ci-management.general.intro                                 = A projekt CI rendszert haszn\u00e1l.
+report.ci-management.github.intro                                  = Ez a projekt {GitHub Actions, https://github.com/features/actions/} rendszert haszn\u00C3\u00A1l.
 report.ci-management.hudson.intro                                  = Ez a projekt {Hudson, http://hudson-ci.org/} rendszert haszn\u00C3\u00A1l.
 report.ci-management.jenkins.intro                                 = Ez a projekt {Jenkins, https://www.jenkins.io/} rendszert haszn\u00C3\u00A1l.
 report.ci-management.luntbuild.intro                               = Ez a projekt {Luntbuild, http://luntbuild.javaforge.com/} rendszert haszn\u00C3\u00A1l.
diff --git a/src/main/resources/project-info-reports_it.properties b/src/main/resources/project-info-reports_it.properties
index f588481..ab912ec 100644
--- a/src/main/resources/project-info-reports_it.properties
+++ b/src/main/resources/project-info-reports_it.properties
@@ -21,6 +21,7 @@ report.ci-management.bamboo.intro                                  = Questo prog
 report.ci-management.buildforge.intro                              = Questo progetto usa {Build Forge, http://www-306.ibm.com/software/awdtools/buildforge/enterprise/}.
 report.ci-management.continuum.intro                               = Questo progetto usa {Continuum, http://continuum.apache.org/}.
 report.ci-management.cruisecontrol.intro                           = Questo progetto usa {CruiseControl, http://cruisecontrol.sourceforge.net/}.
+report.ci-management.github.intro                                  = Questo progetto usa {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Questo progetto usa {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Questo progetto usa {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Questo progetto usa {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_ja.properties b/src/main/resources/project-info-reports_ja.properties
index 7309169..047a27b 100644
--- a/src/main/resources/project-info-reports_ja.properties
+++ b/src/main/resources/project-info-reports_ja.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = \u3053\u306
 report.ci-management.cruisecontrol.intro                           = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F {CruiseControl, http://cruisecontrol.sourceforge.net/} \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
 report.ci-management.description                                   = \u30B3\u30FC\u30C9\u306E\u30D3\u30EB\u30C9\u3068\u30C6\u30B9\u30C8\u3092\u5B9A\u671F\u7684\u304B\u3064\u983B\u7E41\u306B\u884C\u3046\u3001\u3059\u3079\u3066\u306E\u7D99\u7D9A\u7684\u7D50\u5408\u30D7\u30ED\u30BB\u30B9\u306E\u5B9A\u7FA9\u3078\u306E\u30EA\u30F3\u30AF\u3067\u3059\u3002
 report.ci-management.general.intro                                 = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F\u7D99\u7D9A\u7684\u7D50\u5408\u30B7\u30B9\u30C6\u30E0\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
+report.ci-management.github.intro                                  = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F {GitHub Actions, https://github.com/features/actions/} \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
 report.ci-management.hudson.intro                                  = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F {Hudson, http://hudson-ci.org/} \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
 report.ci-management.jenkins.intro                                 = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F {Jenkins, https://www.jenkins.io/} \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
 report.ci-management.luntbuild.intro                               = \u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306F {Luntbuild, http://luntbuild.javaforge.com/} \u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002
diff --git a/src/main/resources/project-info-reports_ko.properties b/src/main/resources/project-info-reports_ko.properties
index 9cbd28e..6e58968 100644
--- a/src/main/resources/project-info-reports_ko.properties
+++ b/src/main/resources/project-info-reports_ko.properties
@@ -21,6 +21,7 @@ report.ci-management.bamboo.intro                                  = \uc774 \ud5
 report.ci-management.buildforge.intro                              = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {Build Forge, http://www-306.ibm.com/software/awdtools/buildforge/enterprise}\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
 report.ci-management.continuum.intro                               = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {Continuum, http://continuum.apache.org/}\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
 report.ci-management.cruisecontrol.intro                           = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {CruiseControl, http://cruisecontrol.sourceforge.net/}\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
+report.ci-management.github.intro                                  = \uC774 \uD504\uB85C\uC81D\uD2B8\uB294 {GitHub Actions, https://github.com/features/actions/}\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.
 report.ci-management.hudson.intro                                  = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {Hudson, http://hudson-ci.org/}\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
 report.ci-management.jenkins.intro                                 = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {Jenkins, https://www.jenkins.io/}\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
 report.ci-management.luntbuild.intro                               = \uc774 \ud504\ub85c\uc81d\ud2b8\ub294 {Luntbuild, http://luntbuild.javaforge.com/}\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.
diff --git a/src/main/resources/project-info-reports_lt.properties b/src/main/resources/project-info-reports_lt.properties
index 1ec5384..be044fa 100644
--- a/src/main/resources/project-info-reports_lt.properties
+++ b/src/main/resources/project-info-reports_lt.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = \u0160is pr
 report.ci-management.cruisecontrol.intro                           = \u0160is projektas naudoja {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Nuoroda \u012f testinio integravimo apra\u0161us, kurie periodi\u0161kai vykdo programos surinkimui ir testavim\u0105.
 report.ci-management.general.intro                                 = \u0160is projektas naudoja testin\u0119 integravimo sistem\u0105.
+report.ci-management.github.intro                                  = \u0160is projektas naudoja {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = \u0160is projektas naudoja {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = \u0160is projektas naudoja {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = \u0160is projektas naudoja {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_nl.properties b/src/main/resources/project-info-reports_nl.properties
index 2a56673..2746bed 100644
--- a/src/main/resources/project-info-reports_nl.properties
+++ b/src/main/resources/project-info-reports_nl.properties
@@ -22,6 +22,7 @@ report.ci-management.continuum.intro                               = Dit project
 report.ci-management.cruisecontrol.intro                           = Dit project gebruikt {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Dit is een link naar de definities van alle continuous integration processen, die code bouwen en testen op een frequente reguliere basis.
 report.ci-management.general.intro                                 = Dit project gebruikt Continuous Integration System.
+report.ci-management.github.intro                                  = Dit project gebruikt {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Dit project gebruikt {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Dit project gebruikt {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Dit project gebruikt {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_no.properties b/src/main/resources/project-info-reports_no.properties
index 977e8ad..201c252 100644
--- a/src/main/resources/project-info-reports_no.properties
+++ b/src/main/resources/project-info-reports_no.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Dette prosj
 report.ci-management.cruisecontrol.intro                           = This project uses {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Dette er en lenke til definisjoner av alle kontinuerlig intgrasjon prosesser som bygger og tester kode p\u00E5 ofte og regul\u00E6r basis.
 report.ci-management.general.intro                                 = Dette prosjektet bruker kontinuerlig bygge system.
+report.ci-management.github.intro                                  = Dette prosjektet bruker {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Dette prosjektet bruker {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Dette prosjektet bruker {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Dette prosjektet bruker {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_pl.properties b/src/main/resources/project-info-reports_pl.properties
index c23243f..79fcfcd 100644
--- a/src/main/resources/project-info-reports_pl.properties
+++ b/src/main/resources/project-info-reports_pl.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Projekt ten
 report.ci-management.cruisecontrol.intro                           = Projekt ten u\u017Cywa systemu {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Poni\u017Cej znajduje si\u0119 \u0142\u0105cze do definicji wszystkich system\u00F3w Continuous Integration, kt\u00F3re regularnie i cz\u0119sto kompiluj\u0105 i testuj\u0105 kod.
 report.ci-management.general.intro                                 = Projekt ten u\u017Cywa systemu Continuous Integration.
+report.ci-management.github.intro                                  = Projekt ten u\u017Cywa systemu {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Projekt ten u\u017Cywa systemu {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Projekt ten u\u017Cywa systemu {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Projekt ten u\u017Cywa systemu {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_pt.properties b/src/main/resources/project-info-reports_pt.properties
index 9f3f71c..eb0c7c5 100644
--- a/src/main/resources/project-info-reports_pt.properties
+++ b/src/main/resources/project-info-reports_pt.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Este projec
 report.ci-management.cruisecontrol.intro                           = Este projecto usa o {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Este \u00e9 o endere\u00e7o para a defini\u00e7\u00e3o de todo o processo de integra\u00e7\u00e3o cont\u00ednua que compila e testa o c\u00f3digo de forma frequente e regularmente.
 report.ci-management.general.intro                                 = Este projecto usa um sistema de integra\u00e7\u00e3o cont\u00ednua.
+report.ci-management.github.intro                                  = Este projecto usa o {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Este projecto usa o {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Este projecto usa o {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Este projecto usa o {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_pt_BR.properties b/src/main/resources/project-info-reports_pt_BR.properties
index cbe32c2..0f6e327 100644
--- a/src/main/resources/project-info-reports_pt_BR.properties
+++ b/src/main/resources/project-info-reports_pt_BR.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Este projet
 report.ci-management.cruisecontrol.intro                           = Este projeto utiliza o {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Este \u00e9 o endere\u00e7o para a defini\u00e7\u00e3o de todo o processo de integra\u00e7\u00e3o cont\u00ednua. Na integra\u00e7\u00e3o cont\u00ednua a compila\u00e7\u00e3o, montagem e testes s\u00e3o feitos de forma frequente e constante.
 report.ci-management.general.intro                                 = Este projeto utiliza um sistema de integra\u00e7\u00e3o cont\u00ednua.
+report.ci-management.github.intro                                  = Este projeto utiliza o {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Este projeto utiliza o {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Este projeto utiliza o {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Este projeto utiliza o {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_ru.properties b/src/main/resources/project-info-reports_ru.properties
index b5752b6..9310e39 100644
--- a/src/main/resources/project-info-reports_ru.properties
+++ b/src/main/resources/project-info-reports_ru.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = \u0414\u043
 report.ci-management.cruisecontrol.intro                           = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = \u0412 \u0434\u0430\u043D\u043D\u043E\u043C \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u044B \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435\u043F\u0440\u0435\u0440\u044B\u0432\u043D\u043E\u0439 \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u043F\u0440\u043E\u0435\u043A\ [...]
 report.ci-management.general.intro                                 = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 Continuous Integration System.
+report.ci-management.github.intro                                  = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = \u0414\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_sk.properties b/src/main/resources/project-info-reports_sk.properties
index c737386..8bf0bd1 100644
--- a/src/main/resources/project-info-reports_sk.properties
+++ b/src/main/resources/project-info-reports_sk.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Tento proje
 report.ci-management.cruisecontrol.intro                           = Tento projekt pou\u017e\u00edva {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Nasledovn\u00e1 linka odkazuje na defin\u00edcie v\u0161etk\u00fdch procesov zaregistrovan\u00fdch v integra\u010dnom syst\u00e9me, ktor\u00e9 pravidelne builduj\u00fa a testuj\u00fa k\u00f3d.
 report.ci-management.general.intro                                 = Tento projekt pou\u017e\u00edva Continuous Integration System (priebe\u017en\u00fd integra\u010dn\u00fd syst\u00e9m).
+report.ci-management.github.intro                                  = Tento projekt pou\u017E\u00EDva {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Tento projekt pou\u017e\u00edva {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Tento projekt pou\u017e\u00edva {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Tento projekt pou\u017e\u00edva {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_sv.properties b/src/main/resources/project-info-reports_sv.properties
index 24befbf..f545747 100644
--- a/src/main/resources/project-info-reports_sv.properties
+++ b/src/main/resources/project-info-reports_sv.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Detta proje
 report.ci-management.cruisecontrol.intro                           = Detta projekt anv\u00e4nder {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Detta \u00e4r en l\u00e4nk till definitionen av alla continuous integration-processer som bygger och testar kod p\u00e5 regelbunden basis.
 report.ci-management.general.intro                                 = Detta projekt anv\u00e4nder ett continuous integration-system.
+report.ci-management.github.intro                                  = Detta projekt anv\u00E4nder {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = Detta projekt anv\u00e4nder {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = Detta projekt anv\u00e4nder {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = Detta projekt anv\u00e4nder {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_tr.properties b/src/main/resources/project-info-reports_tr.properties
index 6cc8e17..508aafa 100644
--- a/src/main/resources/project-info-reports_tr.properties
+++ b/src/main/resources/project-info-reports_tr.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = Bu proje Co
 report.ci-management.cruisecontrol.intro                           = This project uses {CruiseControl, http://cruisecontrol.sourceforge.net/}.
 report.ci-management.description                                   = Bu link kodlar\u00fd s\u00fdk aral\u00fdklarla ve belirli bir temelde derleyen ve test eden t\u00fcm s\u00fcrekli entegrasyon proseslerine eri\u00feim sa\u00f0lar.
 report.ci-management.general.intro                                 = Bu proje S\u00fcrekli Entegrasyon Sistemi uygulamas\u00fdn\u00fd kullan\u00fdr.
+report.ci-management.github.intro                                  = This project uses {GitHub Actions, https://github.com/features/actions/}.
 report.ci-management.hudson.intro                                  = This project uses {Hudson, http://hudson-ci.org/}.
 report.ci-management.jenkins.intro                                 = This project uses {Jenkins, https://www.jenkins.io/}.
 report.ci-management.luntbuild.intro                               = This project uses {Luntbuild, http://luntbuild.javaforge.com/}.
diff --git a/src/main/resources/project-info-reports_zh_CN.properties b/src/main/resources/project-info-reports_zh_CN.properties
index e8f3967..8d699b3 100644
--- a/src/main/resources/project-info-reports_zh_CN.properties
+++ b/src/main/resources/project-info-reports_zh_CN.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = \u672C\u987
 report.ci-management.cruisecontrol.intro                           = \u672C\u9879\u76EE\u4F7F\u7528 {CruiseControl, http://cruisecontrol.sourceforge.net/}\u3002
 report.ci-management.description                                   = \u6301\u7EED\u96C6\u6210\u662F\u4EE5\u4E00\u5B9A\u7684\u9891\u7387\u548C\u56FA\u5B9A\u7684\u57FA\u7840\u8FDB\u884C\u4EE3\u7801\u6784\u5EFA\u548C\u6D4B\u8BD5\u7684\u8FC7\u7A0B\uFF0C\u8FD9\u91CC\u5217\u51FA\u4E86\u6240\u6709\u7684\u6301\u7EED\u96C6\u6210\u8FC7\u7A0B\u3002
 report.ci-management.general.intro                                 = \u672C\u9879\u76EE\u4F7F\u7528\u6301\u7EED\u96C6\u6210\u7CFB\u7EDF\u3002
+report.ci-management.github.intro                                  = \u672C\u9879\u76EE\u4F7F\u7528 {GitHub Actions, https://github.com/features/actions/}\u3002
 report.ci-management.hudson.intro                                  = \u672C\u9879\u76EE\u4F7F\u7528 {Hudson, http://hudson-ci.org/}\u3002
 report.ci-management.jenkins.intro                                 = \u672C\u9879\u76EE\u4F7F\u7528 {Jenkins, https://www.jenkins.io/}\u3002
 report.ci-management.luntbuild.intro                               = \u672C\u9879\u76EE\u4F7F\u7528 {Luntbuild, http://luntbuild.javaforge.com/}\u3002
diff --git a/src/main/resources/project-info-reports_zh_TW.properties b/src/main/resources/project-info-reports_zh_TW.properties
index a930324..eb42a9c 100644
--- a/src/main/resources/project-info-reports_zh_TW.properties
+++ b/src/main/resources/project-info-reports_zh_TW.properties
@@ -23,6 +23,7 @@ report.ci-management.continuum.intro                               = \u672c\u5c0
 report.ci-management.cruisecontrol.intro                           = \u672c\u5c08\u6848\u4f7f\u7528 {CruiseControl, http://cruisecontrol.sourceforge.net/}\u3002
 report.ci-management.description                                   = \u6301\u7e8c\u6574\u5408\u662f\u4ee5\u56fa\u5b9a\u983b\u7387\u70ba\u57fa\u790e\u4f86\u5efa\u69cb\u53ca\u6e2c\u8a66\u7a0b\u5f0f\u78bc\u7684\u904e\u7a0b\uff0c\u6b64\u9023\u7d50\u5217\u51fa\u6240\u6709\u548c\u6301\u7e8c\u6574\u5408\u904e\u7a0b\u76f8\u95dc\u4e4b\u5b9a\u7fa9\u3002
 report.ci-management.general.intro                                 = \u672c\u5c08\u6848\u4f7f\u7528\u6301\u7e8c\u6574\u5408\u7cfb\u7d71 (Continuous Integration System)\u3002
+report.ci-management.github.intro                                  = \u672C\u5C08\u6848\u4F7F\u7528 {GitHub Actions, https://github.com/features/actions/}\u3002
 report.ci-management.hudson.intro                                  = \u672c\u5c08\u6848\u4f7f\u7528 {Hudson, http://hudson-ci.org/}\u3002
 report.ci-management.jenkins.intro                                 = \u672c\u5c08\u6848\u4f7f\u7528 {Jenkins, https://www.jenkins.io/}\u3002
 report.ci-management.luntbuild.intro                               = \u672c\u5c08\u6848\u4f7f\u7528 {Luntbuild, http://luntbuild.javaforge.com/}\u3002


[maven-project-info-reports-plugin] 01/02: Code refactor to easier add new CI System

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit 3233e0539145d37d82a363c0af6154322e244073
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Wed Nov 4 20:49:28 2020 +0100

    Code refactor to easier add new CI System
---
 .../report/projectinfo/CiManagementReport.java     | 82 ++++++++--------------
 1 file changed, 31 insertions(+), 51 deletions(-)

diff --git a/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java b/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
index ad0d0db..3d8a991 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/CiManagementReport.java
@@ -27,8 +27,11 @@ import org.apache.maven.plugins.annotations.Mojo;
 import org.codehaus.plexus.i18n.I18N;
 import org.codehaus.plexus.util.StringUtils;
 
+import java.util.Arrays;
+import java.util.HashSet;
 import java.util.List;
 import java.util.Locale;
+import java.util.Set;
 
 /**
  * Generates the Project Continuous Integration Management report.
@@ -88,6 +91,20 @@ public class CiManagementReport
     private static class CiManagementRenderer
         extends AbstractProjectInfoRenderer
     {
+
+        private static final Set<String> SYSTEMS = new HashSet<>( Arrays.asList(
+                "anthill",
+                "bamboo",
+                "buildforge",
+                "continuum",
+                "cruisecontrol",
+                "hudson",
+                "jenkins",
+                "luntbuild",
+                "teamcity",
+                "travis"
+        ) );
+
         private Model model;
 
         CiManagementRenderer( Sink sink, Model model, I18N i18n, Locale locale )
@@ -126,50 +143,7 @@ public class CiManagementReport
             startSection( getI18nString( "overview.title" ) );
 
             sink.paragraph();
-            if ( isCiManagementSystem( system, "anthill" ) )
-            {
-                linkPatternedText( getI18nString( "anthill.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "bamboo" ) )
-            {
-                linkPatternedText( getI18nString( "bamboo.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "buildforge" ) )
-            {
-                linkPatternedText( getI18nString( "buildforge.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "continuum" ) )
-            {
-                linkPatternedText( getI18nString( "continuum.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "cruisecontrol" ) )
-            {
-                linkPatternedText( getI18nString( "cruisecontrol.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "hudson" ) )
-            {
-                linkPatternedText( getI18nString( "hudson.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "jenkins" ) )
-            {
-                linkPatternedText( getI18nString( "jenkins.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "luntbuild" ) )
-            {
-                linkPatternedText( getI18nString( "luntbuild.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "teamcity" ) )
-            {
-                linkPatternedText( getI18nString( "teamcity.intro" ) );
-            }
-            else if ( isCiManagementSystem( system, "travis" ) )
-            {
-                linkPatternedText( getI18nString( "travis.intro" ) );
-            }
-            else
-            {
-                linkPatternedText( getI18nString( "general.intro" ) );
-            }
+            linkPatternedText( getIntroForCiManagementSystem( system ) );
             sink.paragraph_();
 
             endSection();
@@ -225,23 +199,29 @@ public class CiManagementReport
         }
 
         /**
-         * Checks if a CI management system is bugzilla, continuum...
+         * Search system description.
          *
-         * @return true if the CI management system is bugzilla, continuum..., false otherwise.
+         * @param system a system for description
+         * @return system description from properties
          */
-        private boolean isCiManagementSystem( String system, String actual )
+        private String getIntroForCiManagementSystem( String system )
         {
             if ( StringUtils.isEmpty( system ) )
             {
-                return false;
+                return getI18nString( "general.intro" );
             }
 
-            if ( StringUtils.isEmpty( actual ) )
+            String systemLowerCase = system.toLowerCase( Locale.ENGLISH );
+
+            for ( String systemName : SYSTEMS )
             {
-                return false;
+                if ( systemLowerCase.startsWith( systemName ) )
+                {
+                    return getI18nString( systemName + ".intro" );
+                }
             }
 
-            return system.toLowerCase( Locale.ENGLISH ).startsWith( actual.toLowerCase( Locale.ENGLISH ) );
+            return getI18nString( "general.intro" );
         }
     }
 }