[
https://issues.apache.org/jira/browse/UIMA-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575130#comment-13575130
]
Richard Eckart de Castilho commented on UIMA-2560:
--------------------------------------------------
It is strange that you had to add any mappings.
I cannot reproduce your problems. Here is what I did:
* started a new workspace.
* checked out
https://svn.apache.org/repos/asf/uima/build/branches/UIMA-2560/parent-pom in
Eclipse (checkout as Maven project)
* checked out https://svn.apache.org/repos/asf/uima/uimaj/branches/UIMA-2560 on
the command line, then imported into Eclipse as existing Maven project
* created a run configuration for "uimaj-em-cas-editor"
** launch with "plug-ins selected below only"
** selected all "workspace" plugins (all org.apache.uima)
** added required plugins per button
** checked that only the workspace plugins are active and no other
"org.apache.uima" plugins installed in the Eclipse platform are selected
* ran the application
* opened a type system descriptor in the UIMA component description editor
No need to change any code, add any additional mappings until here and no
ClassNotFoundException. Is it possible that you still had a non-branch version
of uimaj or of the UIMA parent pom in your workspace?
Then on the command line, I did:
* cd ECLIPSE_WORKSPACE
* cd parent-pom
* mvn clean install
* cd ../uimaj
* mvn clean install
The build runs through. After the build, I there is a file
ECLIPSE_WORKSPACE/uimaj/uimaj-ep-runtime/target/org.apache.uima.runtime_2.4.1.SNAPSHOT.jar
with the following contents:
{noformat}
Length Method Size Ratio Date Time CRC-32 Name
-------- ------ ------- ----- ---- ---- ------ ----
0 Stored 0 0% 02-09-13 10:27 00000000 META-INF/
7775 Defl:N 1627 79% 02-09-13 10:27 98383573 META-INF/MANIFEST.MF
149686 Defl:N 137348 8% 02-09-13 10:26 0dc91806
jVinci-2.4.1-SNAPSHOT.jar
1710 Defl:N 377 78% 02-09-13 10:26 dfb779c1 META-INF/DEPENDENCIES
11560 Defl:N 3963 66% 02-09-13 10:26 495fc599 META-INF/LICENSE
200 Defl:N 148 26% 02-09-13 10:26 7bd83ee0 META-INF/NOTICE
1051 Defl:N 533 49% 02-09-13 10:26 c2de07ce plugin.xml
48677 Defl:N 44699 8% 02-09-13 10:26 c94e3bb2
uimaj-adapter-vinci-2.4.1-SNAPSHOT.jar
1356906 Defl:N 1235722 9% 02-09-13 10:26 af1b2f83
uimaj-core-2.4.1-SNAPSHOT.jar
341218 Defl:N 318863 7% 02-09-13 10:26 124ec17e
uimaj-cpe-2.4.1-SNAPSHOT.jar
11529 Defl:N 9764 15% 02-09-13 10:26 b8386bde
uimaj-document-annotation-2.4.1-SNAPSHOT.jar
526389 Defl:N 483859 8% 02-09-13 10:26 a98a1c3b
uimaj-tools-2.4.1-SNAPSHOT.jar
0 Stored 0 0% 02-09-13 10:27 00000000 META-INF/maven/
0 Stored 0 0% 02-09-13 10:27 00000000
META-INF/maven/org.apache.uima/
0 Stored 0 0% 02-09-13 10:27 00000000
META-INF/maven/org.apache.uima/uimaj-ep-runtime/
11496 Defl:N 2713 76% 02-09-13 10:06 69a5d8dd
META-INF/maven/org.apache.uima/uimaj-ep-runtime/pom.xml
125 Defl:N 121 3% 02-09-13 10:27 fa9e535c
META-INF/maven/org.apache.uima/uimaj-ep-runtime/pom.properties
-------- ------- --- -------
2468322 2239737 9% 17 files
{noformat}
> 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