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

features itests depends on old karaf management jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.4.0
    • None
    • None
    • 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.

      Attachments

        1. SMX4-969.patch
          3 kB
          Jonathan Anstey

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: