Hi Sean
All the rest of the errors are identical and they apply to every sub
project.  Because this email doesn't allow images, I'll send you a little
screen capture via your other email.   But the error that shows up on every
project is:

*Cannot parse lifecycle mapping metadata for maven project MavenProject:
org.apache.ctakes:ctakes:5.1.0 @
/Users/peterabramowitsch/projects/apache/ctakes-5.0/ctakes/pom.xml Cause:
Unrecognised tag: 'version' (position: START_TAG seen ...</artifactId>\n
     <version>... @23:18) *

I have no idea why "version" isn't expected
When I look at the pom in Eclipse's pom inspector it doesn't show an
error.
for instance..

<modelVersion>4.0.0</modelVersion>

<artifactId>ctakes-drug-ner</artifactId>

<name>Apache cTAKES Drug NER</name>

<parent>

<groupId>org.apache.ctakes</groupId>

<artifactId>ctakes</artifactId>

<version>5.1.0</version>

</parent>

On Mon, May 6, 2024 at 6:48 AM Finan, Sean
<sean.fi...@childrens.harvard.edu.invalid> wrote:

> Hi Peter,
>
> Thanks again for testing.  I didn't have a problem with that
> ctakes.version in ytex-web, but I stuck a definition of it in <properties>
> just in case.  It does the same thing as using parent.version, but just in
> case we ever change the parent I went with a definition of ctakes.version
> in the ytex-web pom.
>
> Do you have a listing of the rest of the errors reported by eclipse?  I
> use Intellij and while I do get a bunch of version warnings I don't get any
> errors.  I think that ytex-web would need a fair amount of code overhaul to
> get rid of them, and unless there is a major demand from the community I
> don't know that it is worth doing.  Personally, I'd like to put ytex-web in
> the attic and refer to ctakes-web-rest as a replacement.  Perhaps we can do
> that in ctakes 6 ?
>
> Thanks,
>
> Sean
>
> ________________________________
> From: Peter Abramowitsch <pabramowit...@gmail.com>
> Sent: Sunday, May 5, 2024 4:48 PM
> To: dev@ctakes.apache.org <dev@ctakes.apache.org>
> Subject: Remaining Maven errors visible in Eclipse [EXTERNAL]
>
> * External Email - Caution *
>
>
> Hi Sean, there are some minor 5.1.0 Maven glitches picked up by Eclipse,
> one of which I can fix and others not.
>
> in ctakes-ytex-web's pom.xml, I changed *ctakes*.version to
> *parent*.version.
> I have not checked it in, it case it wasn't the right thing to do, but it
> made the error go away.
>
> <dependency>
>
> <groupId>org.apache.ctakes</groupId>
>
> <artifactId>ctakes-user-resources</artifactId>
>
> <version>${parent.version}</version>
>
> </dependency>
>
> But every pom except the master pom, shows this error:
>
> "Cannot parse lifecycle mapping for maven project Maven Project...."
>
> In fact  there is no lifecycle mapping file.
>
> I looked at various solutions online and none of them worked, including
> creating a dummy mapping and including it in the project - all it did was
> insert a blank line between every line of the master pom!  *Che palle*, as
> they say in Italian
>
> I'm pretty sure it's not my Eclipse installation because my own Maven
> projects (admittedly smaller) don't show this error.
>
> Is anyone else seeing a red 'x' error next to every pom in the source tree
> in Eclipse?
>
> Eclipse Version: 2023-12 (4.30.0)
> M2E - Maven Integration for Eclipse 2.6.0.20240220-1109
> org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
>
> Peter
>

Reply via email to