[ 
https://issues.apache.org/jira/browse/UIMA-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587278#comment-13587278
 ] 

Peter Klügl commented on UIMA-2560:
-----------------------------------

I played a bit around with <Eclipse-BundleShape>dir</Eclipse-BundleShape> and 
Eclipse 3.7.2

- does not work for starting Eclipse within Eclipse
- installation using a local update site works, the bundle is deployed as a 
folder
- installed plugin does not work correctly: java.lang.ClassNotFoundException: 
org.apache.uima.resource.metadata.MetaDataObject. This is caused by different 
namings for the included jars. The manifest in the deployed folder refers, 
e.g., to uima-core.jar, but the folder contains uimaj-core-2.4.1-SNAPSHOT.jar. 

Maybe I did something wrong here, but - interestingly enough - the manifest in 
the java project is not equal to the manifest in the jar after "mvn clean 
package":

project:
{noformat}
Bundle-ClassPath: .,uimaj-core-2.4.1-SNAPSHOT.jar,uimaj-cpe-2.4.1-SNAPSH
 OT.jar,uimaj-tools-2.4.1-SNAPSHOT.jar,uimaj-adapter-vinci-2.4.1-SNAPSHO
 T.jar,jVinci-2.4.1-SNAPSHOT.jar
Embedded-Artifacts: uimaj-core-2.4.1-SNAPSHOT.jar;g="org.apache.uima";a=
 "uimaj-core";v="2.4.1-SNAPSHOT",uimaj-cpe-2.4.1-SNAPSHOT.jar;g="org.apa
 che.uima";a="uimaj-cpe";v="2.4.1-SNAPSHOT",uimaj-tools-2.4.1-SNAPSHOT.j
 ar;g="org.apache.uima";a="uimaj-tools";v="2.4.1-SNAPSHOT",uimaj-adapter
 -vinci-2.4.1-SNAPSHOT.jar;g="org.apache.uima";a="uimaj-adapter-vinci";v
 ="2.4.1-SNAPSHOT",jVinci-2.4.1-SNAPSHOT.jar;g="org.apache.uima";a="jVin
 ci";v="2.4.1-SNAPSHOT"
{noformat}

vs

jar:
{noformat}
Bundle-ClassPath: .,uima-core.jar,jVinci.jar,uima-tools.jar,uima-adapt
 er-vinci.jar,uima-cpe.jar
{noformat}

Is that correctly resolved in your workspace?

                
> Eclipse m2e complains about unmapped maven plugins
> --------------------------------------------------
>
>                 Key: UIMA-2560
>                 URL: https://issues.apache.org/jira/browse/UIMA-2560
>             Project: UIMA
>          Issue Type: Bug
>          Components: Build, Packaging and Test
>    Affects Versions: parent-pom-4
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: parent-pom-5
>
>
> Recent versions of Eclipse m2e complain about Maven plugins in the UIMA 
> master pom not being covered by m2e lifecycle plugins:
> * uima-build-helper-maven-plugin
> * maven-dependency-plugin
> Add m2e metadata to the master POM to handle these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to