Re: Remaining Maven errors visible in Eclipse [EXTERNAL]

2024-05-06 Thread gandhi rajan
Hi Sean,

I agree with your point on ytex-web as this module has inconsistent build
failures in most of the releases. It needs a major overhaul or it needs to
be shelved.

+1

On Mon, 6 May 2024 at 19:18, Finan, Sean
 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 
> 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 
> Sent: Sunday, May 5, 2024 4:48 PM
> To: 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.
>
> 
>
> org.apache.ctakes
>
> ctakes-user-resources
>
> ${parent.version}
>
> 
>
> 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
>


-- 
Regards,
Gandhi

"The best way to find urself is to lose urself in the service of others !!!"


Re: Remaining Maven errors visible in Eclipse [EXTERNAL]

2024-05-06 Thread Peter Abramowitsch
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 ...\n
 ... @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..

4.0.0

ctakes-drug-ner

Apache cTAKES Drug NER



org.apache.ctakes

ctakes

5.1.0



On Mon, May 6, 2024 at 6:48 AM Finan, Sean
 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 
> 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 
> Sent: Sunday, May 5, 2024 4:48 PM
> To: 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.
>
> 
>
> org.apache.ctakes
>
> ctakes-user-resources
>
> ${parent.version}
>
> 
>
> 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
>


Re: Remaining Maven errors visible in Eclipse [EXTERNAL]

2024-05-06 Thread Finan, Sean
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  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 
Sent: Sunday, May 5, 2024 4:48 PM
To: 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.



org.apache.ctakes

ctakes-user-resources

${parent.version}



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