| <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>Simple Bundle Project</name> |
| <url>http://incubator.apache.org/felix</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi</artifactId> |
| <version>3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <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> |
| <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>Simple Bundle</bundleName> |
| <bundleActivator>${groupId}.Activator</bundleActivator> |
| <bundleVendor>Apache Software Foundation</bundleVendor> |
| </osgiManifest> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |