Uploaded image for project: 'XWiki Infrastructure'
  1. XWiki Infrastructure
  2. XINFRA-380

Add an automatic check for asserting the version of parent poms

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • Dev tools
    • None
    • Unknown

    Description

      Problem: it happens that we cherry-pick in branches pom.xml files containing a wrong parent version. (e.g. https://github.com/xwiki/xwiki-platform/commit/787d775b1180079dbee6ad7233f30a9b50d91492#diff-1cb6fb1cf76a625a61bb79f4dd7fe71d535e0ae2f5513ca7131ef0610142230fR28) In most case the CI don't catch those mistakes because the version does exist, and we only find those errors at release time.
      We should find a way to check that the parent version of our pom.xml files matches the major/minor version that can be guessed from the branch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: