AtlasOfLivingAustralia / travis-build-configuration

travis-ci.org build configuration files shared/re-used among ALA projects
5 stars 8 forks source link

improve pom.xml parsing; use XML parser instead of regexp #19

Open mbohun opened 6 years ago

mbohun commented 6 years ago

At the moment the script generate-github-travis-build-summary-with-grails.sh used to generate the "build status" table (github gist) embedded inside https://atlasoflivingaustralia.github.io/ is using clumsy regexp/grep/sed/etc to extract:

   <groupId />
   <artifactId />
   <version />

from ALA's maven pom.xml files.
This had it's obvious limitations:

The solution is to EITHER: