Skip to content

Instantly share code, notes, and snippets.

@pentaho-nbaker
Created June 5, 2015 18:17
Show Gist options
  • Select an option

  • Save pentaho-nbaker/b2f893928220016a64c6 to your computer and use it in GitHub Desktop.

Select an option

Save pentaho-nbaker/b2f893928220016a64c6 to your computer and use it in GitHub Desktop.
create feature
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.3.7</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<!--<bundles>src/main/resources/bundles.properties</bundles>-->
<kernelVersion>2.2.11</kernelVersion>
<outputFile>target/features.xml</outputFile>
</configuration>
</execution>
<execution>
<id>create-kar</id>
<phase>generate-resources</phase>
<goals>
<goal>create-kar</goal>
</goals>
<configuration>
<featuresFile>src/main/resources/gremlin-feature.xml</featuresFile>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment