Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5898

Cleanup version handling in build files

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • general/build
    • None
    • New

    Description

      We have still some duplicates in build files. RM must change the base version at many places after release.

      There is also a bug "Specification-Version:" in JAR files must be numeric only. So I sill set it to ${version.base} which is guaranteed to be numeric only. This is why we had the separate property in common-build. This needs to be fixed in 4.10 - not for relaese - but for development on release branch!

      This issue cleans a lot up:

      • Use spec.version with version.base as value
      • In Maven inject more version numbers, so RM does not need to change anything in POM templates
      • Remove useless attributes from some macros
      • Inject version numbers also to eclipse/idea/...
      • Don't define version properties a second time in root's build.xml (because it does not include common-build, its duplicated there - I will fix this, too)

      Attachments

        1. LUCENE-5898.patch
          7 kB
          Uwe Schindler
        2. LUCENE-5898-2.patch
          4 kB
          Uwe Schindler
        3. LUCENE-5898-2.patch
          4 kB
          Uwe Schindler
        4. LUCENE-5898-2.patch
          10 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: