Karaf
  1. Karaf
  2. KARAF-1066

make features xml parser more forgiving

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

      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

        Activity

        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Heath Kesler made changes -
        Attachment karaf-2.3_1066_test.diff [ 12541391 ]
        Heath Kesler made changes -
        Attachment karaf-3.0_1066_test_failure.diff [ 12540895 ]
        Heath Kesler made changes -
        Attachment karaf-3.0_1066_test.diff [ 12540893 ]
        Freeman Fang made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.2.9 [ 12321741 ]
        Fix Version/s 2.3.0 [ 12320554 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Resolution Fixed [ 1 ]
        Freeman Fang made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Freeman Fang made changes -
        Assignee Freeman Fang [ ffang ]
        Heath Kesler made changes -
        Field Original Value New Value
        Attachment karaf-3.0_1066.diff [ 12540838 ]
        Andrei Pozolotin created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development