Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-969

features itests depends on old karaf management jar

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When I try to build the features trunk rev 1202843 it fails in the itests:

      [janstey@duffman trunk]$ mvn clean install
      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      

      It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one.

      Attaching a simple fix for this shortly.

      1. SMX4-969.patch
        3 kB
        Jonathan Anstey

        Activity

        Hide
        ffang Freeman Fang added a comment -

        apply patch on behalf of Jon with thanks
        http://svn.apache.org/viewvc?rev=1202968&view=rev

        Show
        ffang Freeman Fang added a comment - apply patch on behalf of Jon with thanks http://svn.apache.org/viewvc?rev=1202968&view=rev
        Hide
        ffang Freeman Fang added a comment -

        Yeah, it's same issue when when upgrade to karaf in nmr project.
        As discussed in Maillinglist, we're going to use pax-exam based way to replace the itests in features and nmr
        thanks for the patch, I'm going to apply it soon.

        Show
        ffang Freeman Fang added a comment - Yeah, it's same issue when when upgrade to karaf in nmr project. As discussed in Maillinglist, we're going to use pax-exam based way to replace the itests in features and nmr thanks for the patch, I'm going to apply it soon.

          People

          • Assignee:
            ffang Freeman Fang
            Reporter:
            janstey Jonathan Anstey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development