Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6533

Felix released as milestone version cannot parse it's own version id

    XMLWordPrintableJSON

Details

    • Patch, Important

    Description

      We tried to prerelease a custom built version for GlassFish, but it it not able to start now. The version id was 7.0.4-omnifish-M1; Felix changed it to 7.0.4.omnifish.M1 on startup and then crashed, because dots are not allowed in classifier.

      Cause

      I found that it tries to "cleanup" the Maven version, but does it wrong and then tries to parse the result again which fails.

      Solution

      I am creating PR right after this issue. Felix already has the correct implementation usable for this, so I just moved it to the new VersionConverter class, updated all references and also extended tests. It is backward compatible despite the bit of refactoring.

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              dmatej David Matějček
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified