[GeoNetwork-devel] Maven error in geonetwork-client

Hi, has anyone got this error “Plugin execution not covered by lifecycle configuration …” for the goal compress (using yuicompressor plugin) in geonetwork-client module? I got this after I setup geonetwork in my eclipse.

I know I can switch it off from the pom file or mark as ignored in eclipse, but if I want the compress goal to execute, how do I get around this?

On Fri, Sep 6, 2013 at 7:47 AM, Ameet Chaudhari
<ameet.chaudhari@anonymised.com>wrote:

Hi, has anyone got this error "Plugin execution not covered by lifecycle
configuration ..." for the goal compress (using yuicompressor plugin) in
geonetwork-client module? I got this after I setup geonetwork in my
eclipse.

HI,

I had this problem and could run the integrated tomcat with geoNetwork with
no problem. It's just that the javascript files will not be compressed, but
this is good for debugging. And if you are running it on eclipse, you will
probably want to debug.

I know I can switch it off from the pom file or mark as ignored in
eclipse, but if I want the compress goal to execute, how do I get around
this?

You don't need to mark it on the pom file as ignored, it will just run
without doing the compression.

A few weeks ago I installed the latest eclipse and now I don't have this
problem. Maybe you can try updating eclipse.

Thanks María, I have the latest eclipse (Juno). The POM file cant be wrong else it would have been corrected by now. I only thing I see is the m2e plugin that is not happy with this pom! some search revealed that eclipse’s build lifecycle is diff. than maven’s… so explicit mapping is needed by the m2e plugin, something like is missing.

some other folks have said that there is also m2e wtp integration plugin that makes the m2e do peace with pom without . I’ll try that and update here.

Regards
Ameet

···

On Fri, Sep 6, 2013 at 12:33 PM, María Arias de Reyna <delawen@anonymised.com…> wrote:


Systems Programmer
kCube Consultancy Services

On Fri, Sep 6, 2013 at 7:47 AM, Ameet Chaudhari <ameet.chaudhari@anonymised.com> wrote:

Hi, has anyone got this error “Plugin execution not covered by lifecycle configuration …” for the goal compress (using yuicompressor plugin) in geonetwork-client module? I got this after I setup geonetwork in my eclipse.

HI,

I had this problem and could run the integrated tomcat with geoNetwork with no problem. It’s just that the javascript files will not be compressed, but this is good for debugging. And if you are running it on eclipse, you will probably want to debug.

I know I can switch it off from the pom file or mark as ignored in eclipse, but if I want the compress goal to execute, how do I get around this?

You don’t need to mark it on the pom file as ignored, it will just run without doing the compression.

A few weeks ago I installed the latest eclipse and now I don’t have this problem. Maybe you can try updating eclipse.