All of a sudden, I seeing m2e problems with the RAT plugin on several machines. It's causing an Eclipse error "Plugin execution not covered by lifecycle configuration".

I don't understand why this has started happening to me because I don't see any changes that are relevant.

In an attempt to stabilise m2e I've added to jena-parent/pom.xml:

<pluginExecution>
  <!--
    Error:
    Plugin execution not covered by lifecycle configuration
  -->
  <pluginExecutionFilter>
    <groupId>org.apache.rat</groupId>
    <artifactId>apache-rat-plugin</artifactId>
    <versionRange>[0.11,)</versionRange>
    <goals>
      <goal>check</goal>
    </goals>
  </pluginExecutionFilter>
  <action>
    <ignore />
  </action>
</pluginExecution>

which (1) seems the right thing to do and (2) fixes what I'm seeing.

Has anyone else seen this recently?

Is there a better way?

        Mystified,
        Andy

Reply via email to