0

I've been getting this maven error for a while now:

Plugin execution not covered by lifecycle configuration: com.cerner.engineering:cerner-    osgi-plugin:3.1.1:generate-osgi-manifest (execution: default, phase: 
 compile)

This is the snippet of my pom that is having the problem.

<execution>
    <goals>
        <goal>generate-osgi-manifest</goal>
        <goal>generate-test-osgi-manifest</goal>
    </goals>
</execution>

Has anybody seen this before?

Erick Robertson
  • 32,125
  • 13
  • 69
  • 98

1 Answers1

0

You have to manually configure a lifecycle mapping. The lifecycle mapping was introduced by m2e, so that Eclipse knows what to do with your Maven plugin, if you are building in Eclipse. See this question.

Community
  • 1
  • 1
SpaceTrucker
  • 13,377
  • 6
  • 60
  • 99