Skip to content

Instantly share code, notes, and snippets.

@sbrinkmann
Created June 20, 2014 11:30
Show Gist options
  • Save sbrinkmann/047e24d2be59adb78a89 to your computer and use it in GitHub Desktop.
Save sbrinkmann/047e24d2be59adb78a89 to your computer and use it in GitHub Desktop.
<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>de.eggs.cq.generic</groupId>
<artifactId>MyBundle</artifactId>
<version>14.01.0-SNAPSHOT</version>
<name>My Bundle Name</name>
<description>My Bundle Description</description>
<packaging>bundle</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.5</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>de.eggs.myBundle*</Export-Package>
<Import-Package>org.slf4j</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment