Hi Anne,

> Plugin execution not covered by lifecycle configuration

Getting Maven to behave in Eclipse often requires additional configuration
of lifecycle mappings. Sadly, this includes the maven-jar-plugin. Here is
an example:


https://github.com/scijava/scijava-common/blob/205e97d0/pom-scijava/pom.xml#L208

You can read more about the rationale for this at:

    http://wiki.eclipse.org/M2E_plugin_execution_not_covered

HTH,
Curtis


On Sun, Oct 28, 2012 at 5:26 PM, Anne Forumer <[email protected]>wrote:

> Windows 7, Eclipse 4.2 Juno, m2e 1.2, Maven 3.0.4
>
>
> I imported MyBatis project from SCM:SVN. Everything else seems to have
> gone well except I see the following error. A jar is not being created as a
> result:
>
>     Plugin execution not covered by lifecycle configuration:
> org.sonatype.plugins:jarjar-maven-plugin:1.5:jarjar (execution:
> jarjar-classes, phase: compile).
>
>
> Also, there is a warning:
>
>     maven-enforcer-plugin (goal "enforce") is ignored by m2e
>
> I'd appreciate any help in resolving this issue.
>
> Thanks
>

Reply via email to