Am 08.08.2011 um 13:37 schrieb Alexander Klenner:

> I tried to install UIMA-AS Deployment Descriptor Editor 2.3.1 via the 
> Eclipse(latest version) "Help->Install New Software" interface from 
> http://www.apache.org/dist/uima/eclipse-update-site/. Both tools and runtime 
> are already installed(v.2.3.1). But installation fails with following error:
> 
> Cannot complete the install because one or more required items could not be 
> found.
>  Software being installed: UIMA-AS Deployment Descriptor Editor 2.3.1 
> (org.apache.uima.as.deployeditor.feature.group 2.3.1)
>  Missing requirement: UIMA-AS Eclipse Plugin: uimaj-ep-runtime-deployeditor 
> 2.3.1 (org.apache.uima.runtime.fragments.deployeditor 2.3.1) requires 
> 'package org.apache.uima 2.3.0' but it could not be found
>  Cannot satisfy dependency:
>    From: UIMA-AS Deployment Descriptor Editor 2.3.1 
> (org.apache.uima.as.deployeditor.feature.group 2.3.1)
>    To: org.apache.uima.runtime.fragments.deployeditor [2.3.1]

That looks to me like an incarnation of the problem I found while trying to get 
the UIMA sources properly set up as projects in Eclipse 
(http://uima.markmail.org/search/?q=#query:+page:1+mid:ysdvf5lgj5k7rfuw+state:results).

The problem is that the Import-Packge statements in the MANIFEST.MF of the 
org.apache.uima.deployeditor_2.3.1.jar file have the version "2.3" while it 
should be "2.3.1". The version "2.3" seems to be interpreted as "2.3.0" and 
hence the error. There seems to be an issue with the handling of versions by 
the maven-bundle-plugin during recent builds of UIMA and UIMA-AS.

I think there may currently be no workaround other than manually patching the 
MANIFEST.MF and dropping the patched jars into the Eclipse dropins folder.

Cheers,

Richard

Reply via email to