<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>${groupId}</groupId> | |
<artifactId>${artifactId}</artifactId> | |
<packaging>osgi-bundle</packaging> | |
<version>${version}</version> | |
<name>My Bundle Project Name Here</name> | |
<url>My Organization URL Here</url> | |
<build> | |
<!-- | |
*********************************************************** | |
* Uncomment out to override default jar naming convention * | |
*********************************************************** | |
<finalName>my-bundle</finalName> | |
--> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix.plugins</groupId> | |
<artifactId>maven-osgi-plugin</artifactId> | |
<extensions>true</extensions> | |
<version>0.3.0</version> | |
<configuration> | |
<!-- | |
************************************************* | |
* Uncomment to specify a manifest file to merge * | |
************************************************* | |
<manifestFile>path/to/manifest.mf</manifestFile> | |
--> | |
<!-- | |
******************************************************************* | |
* See the following link for entry specification * | |
* http://docs.safehaus.org/display/OSGI/OSGi+Plugin+for+Maven+2.0 * | |
******************************************************************* | |
--> | |
<osgiManifest> | |
<bundleName>My Bundle Name</bundleName> | |
<bundleActivator>${groupId}.MyBundleActivator</bundleActivator> | |
<bundleVendor>My Organization Name</bundleVendor> | |
</osgiManifest> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi</artifactId> | |
<version>3.0</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
</project> |