Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1066

make features xml parser more forgiving

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.9, 2.3.0, 3.0.0
    • Component/s: karaf-tooling
    • Labels:
      None

      Description

      features-maven-plugin:2.2.4:add-features-to-repo

      1) currently, an entry in features.xml like this works fine:

      <repository>mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features</repository>

      2) but plugin blows up with exception, if format is like this

      <repository>
      mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features
      </repository>

      "Error populating repository: Illegal character in scheme name at index 0:"

      3) I suggest to make features xml parser more forgiving

        Attachments

        1. karaf-2.3_1066_test.diff
          3 kB
          Heath Kesler
        2. karaf-3.0_1066_test_failure.diff
          0.6 kB
          Heath Kesler
        3. karaf-3.0_1066_test.diff
          4 kB
          Heath Kesler
        4. karaf-3.0_1066.diff
          6 kB
          Heath Kesler

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Fang
                Reporter:
                andrei.pozolotin Andrei Pozolotin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: