[
https://issues.apache.org/jira/browse/SMX4-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151715#comment-13151715
]
Freeman Fang commented on SMX4-969:
-----------------------------------
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.
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
> Key: SMX4-969
> URL: https://issues.apache.org/jira/browse/SMX4-969
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Jonathan Anstey
> Assignee: Freeman Fang
> Priority: Minor
> Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [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
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira