[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Eclipse indigo, m2e and maven-bundle-plugin:manifest goal

There is a quick-fix associated with the error marker to install
m2e-tycho integration, which provides some basic integration between
maven-bundle-plugin and PDE (see [1] for some info). You can also
suppress the error markers without installing m2e-tycho as explained in [2].

[1] https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts
[2] http://wiki.eclipse.org/M2E_plugin_execution_not_covered


On 11-07-27 7:47 AM, Sanjeeb Sahoo wrote:

I am having difficulty using maven-bundle-plugin to generate OSGi
manifest in a Maven project in Eclipse Indigo. I have installed m2e
plugin as shown below:

/m2e - Maven Integration for Eclipse
org.eclipse.m2e.feature.feature.group Eclipse.org - m2e/

I created a simple maven project and tried to configure
maven-bundle-plugin as the attached pom.xml [1] shows. As the pom shows,
I am trying to configure maven-bundle-plugin to generate the manifest in
process-classes phase. To keep things simple, I have tried to keep the
pom as simple as possible in this example. I see the following error
from m2e:

Plugin execution not covered by lifecycle configuration:
org.apache.felix:maven-bundle-plugin:2.3.4:manifest (execution:
bundle-manifest, phase: process-classes)

This was not the case when I was using m2e with Eclipse Helios. Any clue
what's going on here and how to make it work.


[1] pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0";

_______________________________________________ m2e-users mailing list m2e-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/m2e-users