Skip to content

Instantly share code, notes, and snippets.

@anton-johansson
Created July 25, 2016 16:51
Show Gist options
  • Save anton-johansson/6fa769c031bb99c8420d917330043af0 to your computer and use it in GitHub Desktop.
Save anton-johansson/6fa769c031bb99c8420d917330043af0 to your computer and use it in GitHub Desktop.
karaf-assembly without my dependencies
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.anton-johansson</groupId>
<artifactId>assembly-test</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>assembly-test-assembly</artifactId>
<packaging>karaf-assembly</packaging>
<name>Anton Johansson :: Assembly Test :: Karaf Assembly</name>
<description>Assembles Karaf together with the test project.</description>
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>framework</artifactId>
<version>4.0.5</version>
<type>kar</type>
</dependency>
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>standard</artifactId>
<version>4.0.5</version>
<classifier>features</classifier>
<type>xml</type>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>4.0.5</version>
<extensions>true</extensions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<configuration>
<bootFeatures>
<feature>standard</feature>
<feature>management</feature>
</bootFeatures>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment