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 -- Regards, Igor On 11-07-27 7:47 AM, Sanjeeb Sahoo wrote:
Hi, 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 1.0.0.20110607-2117 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. Thanks, Sahoo [1] pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>sahoo</groupId> <artifactId>deleteme3</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.4</version> <extensions>true</extensions> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> _______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
