uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <richard.eck...@gmail.com>
Subject Re: need for special m2e setting in jcasgen-maven-plugin?
Date Wed, 03 Jul 2013 20:40:14 GMT
Since recently, I use m2e

I assume this my warnings are not related to the m2e version
(all post 1.0 versions should exhibit that), but rather to
differences in version enforcement between the Sonatype OSS POM
and the UIMA parent pom.

Sonatype uses this plugin:

            <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums

while UIMA uses this element:

  <!-- 2.2.0 is broken when deploying - checksums invalid -->
  <!-- 2.2.1 doesn't work -->

The jcasgen-maven-plugin was using the Sonatype POM before being
contributed to UIMA. I suppose the m2e settings for the enforcer 
plugin have been there at contribution time and that I have not
removed them, since I know these warnings. It didn't even occur
to me that it may be unnecessary in the context of the UIMA build

Please remove the settings if you do not encounter any warnings.
The warning I see a lot in UIMA maven modules is "Version is
duplicate of parent pom". Nothing about the enforcer plugin though.

-- Richard

Am 03.07.2013 um 22:27 schrieb Marshall Schor <msa@schor.com>:

> Interesting.  What do you do to get this message?  I'd like to try and replicate
> this.
> What level of m2e do you have installed in the Eclipse that is showing this
> issue, because older levels of m2e may not be as good as handling things like
> this.  I'm running which I got (some time ago) from
> http://www.eclipse.org/m2e/
> -Marshall
> On 7/3/2013 3:13 PM, Richard Eckart de Castilho wrote:
>> I have various projects displaying this warning in Eclipse:
>> "maven-enforcer-plugin (goal "enforce") is ignored by m2e."
>> The m2e settings are probably there to remove this warning. I
>> don't remember if I added them of if they have been there
>> before.
>> -- Richard
>> Am 03.07.2013 um 21:05 schrieb Marshall Schor <msa@schor.com>:
>>> I'm cleaning up loose ends, in preparation for doing a uima-sdk release.
>>> The current UIMA-wide parent-pom (v5) has an execution of the enforcer plugin
>>> check for a good level of Maven (3 or better) and Java (5 or better), so every
>>> project is getting this by default as part of their build.  The UIMA-wide
>>> parent-pom (v5) has no m2e lifecycleMappingMetadata specs for the enforcer
>>> plugin, and it doesn't seem to be needed (no errors are reported in Eclipse).
>>> The jcasgen-maven-plugin POM has a special m2e lifecycleMappingMetadata spec
>>> the enforcer plugin, which says to "ignore", but no local call on the enforcer
>>> plugin.
>>> I'd like to take out the m2e part of the jcasgen-maven-plugin POM, but wanted
>>> check to see if I'm missing something here; does anyone know why this m2e
>>> lifecycleMappingMetadata spec was put into this POM in the first place?
>>> -Marshall

View raw message