<modelVersion>4.0.0</modelVersion>
<groupId>foo.bar</groupId>
<artifactId>my-bundle</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<properties>
<osgi-version-qualifier>${maven.build.timestamp}</osgi-version-qualifier>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.forge</groupId>
<artifactId>forge-javaee-impl</artifactId>
<version>1.2.0.Final</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<manifestLocation>META-INF</manifestLocation>
<instructions>
<Embed-Transitive>true</Embed-Transitive>
<_failok>true</_failok>
<_nouses>true</_nouses>
<_nodefaultversion>true</_nodefaultversion>
<_snapshot>${osgi-version-qualifier}</_snapshot>
<Bundle-SymbolicName>${project.artifactId};singleton:=false</Bundle-SymbolicName>
<Bundle-RequiredExecutionEnvironment>J2SE-1.5,JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
<Bundle-Name>%Bundle-Name</Bundle-Name>
<Bundle-Vendor>%Bundle-Vendor</Bundle-Vendor>
<Bundle-ClassPath>{maven-dependencies}</Bundle-ClassPath>
</instructions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Embed-Dependency>forge-javaee-impl,
solder-impl</Embed-Dependency>
<_exportcontents>META-INF.plexus;-noimport:=true,
org.jboss.forge.*</_exportcontents>
<Import-Package>!*</Import-Package>
<!-- <Require-Bundle>foo.bar;bundle-version="[1.3.0,1.4.0)"</Require-Bundle> -->
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
It can also resolve workspace project dependencies.