Karaf
  1. Karaf
  2. KARAF-639

Karaf Plug-in validate goal doesn't support various aspects of PAX MVN/URL

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: 4.0.0, 3.0.2
    • Component/s: karaf-tooling
    • Labels:
      None
    • Environment:

      Maven 2.2.1 or Maven 3.0.2, Java 1.6

      Description

      A number of scenarios that are common in feature descriptors cause issues with the validate goal of the plug-in. Support is better in the trunk; however, at least one of the scenarios is still unsupported.

      The fixes must be backported to the 2.2.x branch as the trunk does not validate feature descriptors without a namespace declaration and many existing feature descriptors that are transitively included in validation do not currently include the namespace declaration.

      The scenarios in question are:

      1) A blueprint file referenced from a bundle element.
      2) Loading bundles from a repository other than the default repositories for PAX MVN/URL.
      3) Loading a WAR from a bundle element.
      4) Loading a plain JAR with the wrap protocol in a bundle element.

      1. KARAF-639-trunk-tests.patch
        40 kB
        David Valeri
      2. KARAF-639-2.2.x-tests.patch
        40 kB
        David Valeri

        Activity

        Hide
        David Valeri added a comment -

        Attaching simple tests that exercise the scenarios. I used the Maven Invoker Plug-in to execute the test scenarios rather than setting up the plug-in testing harness simply because I am already familiar with that approach and I am short on time.

        Show
        David Valeri added a comment - Attaching simple tests that exercise the scenarios. I used the Maven Invoker Plug-in to execute the test scenarios rather than setting up the plug-in testing harness simply because I am already familiar with that approach and I am short on time.

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            David Valeri
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development