[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
[m2e-users] Eclipse indigo,	m2e and maven-bundle-plugin:manifest goal
 | 
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
	<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>