Skip to content

Commit

Permalink
Fix #611
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Oct 3, 2013
1 parent fbdbc47 commit 64672b4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-karaf/src/main/resources/features.xml
Expand Up @@ -13,7 +13,7 @@

<feature name="hawtio-maven-indexer" version="${project.version}" resolver="(obr)">
<details>Installs the hawtio maven indexer service as a separate bundle</details>
<bundle>fab:mvn:io.hawt/hawtio-maven-indexer/${project.version}</bundle>
<bundle>mvn:io.hawt/hawtio-maven-indexer/${project.version}</bundle>
</feature>

<feature name="hawtio-git" version="${project.version}" resolver="(obr)">
Expand Down
38 changes: 38 additions & 0 deletions hawtio-maven-indexer/pom.xml
Expand Up @@ -10,8 +10,14 @@
<artifactId>hawtio-maven-indexer</artifactId>
<name>${project.artifactId}</name>
<description>hawtio :: hawtio-maven-indexer</description>
<packaging>bundle</packaging>

<properties>
<fuse.osgi.export>
</fuse.osgi.export>
<fuse.osgi.import>
*;resolution:=optional
</fuse.osgi.import>
</properties>

<dependencies>
Expand All @@ -20,6 +26,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.hawt</groupId>
Expand Down Expand Up @@ -87,6 +94,37 @@
</systemPropertyVariables>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin-version}</version>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Embed-Directory>lib</Embed-Directory>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
<Bundle-ClassPath>.</Bundle-ClassPath>
<Bundle-Name>${project.description}</Bundle-Name>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Import-Package>${fuse.osgi.import}</Import-Package>
<Export-Package>${fuse.osgi.export}</Export-Package>
<Implementation-Title>hawtio</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
</instructions>
</configuration>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 64672b4

Please sign in to comment.