<project> | |
<modelVersion>4.0.0</modelVersion> | |
<packaging>bundle</packaging> | |
<groupId>ipojo.examples</groupId> | |
<artifactId>hello.impl</artifactId> | |
<version>1.1.0-SNAPSHOT</version> | |
<name>Hello Service Provider</name> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>apache.snapshots</id> | |
<name>snapshot plugins</name> | |
<url> | |
http://people.apache.org/repo/m2-snapshot-repository | |
</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>ipojo.examples</groupId> | |
<artifactId>hello.service</artifactId> | |
<version>1.1.0-SNAPSHOT</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>1.4.3</version> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-SymbolicName> | |
${pom.artifactId} | |
</Bundle-SymbolicName> | |
<Private-Package> | |
ipojo.example.hello.impl | |
</Private-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-ipojo-plugin</artifactId> | |
<version>1.1.0-SNAPSHOT</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>ipojo-bundle</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |