<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<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>org.apache.camel.example</groupId> | |
<artifactId>camel-example-rest-karaf-osgi-activator-parent</artifactId> | |
<version>3.2.0-SNAPSHOT</version> | |
<relativePath>../parent</relativePath> | |
</parent> | |
<artifactId>camel-example-rest-karaf-osgi-activator-distribution</artifactId> | |
<name>Camel :: Example :: REST :: Karaf :: OSGi Activator :: Distribution</name> | |
<packaging>karaf-assembly</packaging> | |
<!-- Import Karaf POM to use the correct version of the Karaf dependencies --> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.karaf</groupId> | |
<artifactId>karaf</artifactId> | |
<version>${karaf4-version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<!-- scope is compile so all features (there is only one) are installed into startup.properties and the feature repo itself is not added in etc/org.apache.karaf.features.cfg file --> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>framework</artifactId> | |
<type>kar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>framework</artifactId> | |
<classifier>features</classifier> | |
<type>xml</type> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.camel.example</groupId> | |
<artifactId>camel-example-rest-karaf-osgi-activator-provision</artifactId> | |
<version>${camel.version}</version> | |
<type>kar</type> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>enterprise</artifactId> | |
<classifier>features</classifier> | |
<type>xml</type> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>spring</artifactId> | |
<classifier>features</classifier> | |
<type>xml</type> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<!-- scope is runtime so the feature repo is listed in etc/org.apache.karaf.features.cfg file, and features will installed into the system directory --> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>standard</artifactId> | |
<classifier>features</classifier> | |
<type>xml</type> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<!-- karaf-maven-plugin will call both assembly and archive goals --> | |
<plugin> | |
<groupId>org.apache.karaf.tooling</groupId> | |
<artifactId>karaf-maven-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<!-- ignoreDependencyFlag is true forces plugin to also | |
download feature dependent libraries --> | |
<ignoreDependencyFlag>false</ignoreDependencyFlag> | |
<startupFeatures> | |
<feature>eventadmin</feature> | |
</startupFeatures> | |
<bootFeatures> | |
<feature>wrap</feature> | |
<feature>shell</feature> | |
<feature>feature</feature> | |
<feature>jaas</feature> | |
<feature>ssh</feature> | |
<feature>management</feature> | |
<feature>bundle</feature> | |
<feature>config</feature> | |
<feature>deployer</feature> | |
<feature>diagnostic</feature> | |
<feature>feature</feature> | |
<feature>instance</feature> | |
<feature>kar</feature> | |
<feature>log</feature> | |
<feature>package</feature> | |
<feature>service</feature> | |
<feature>system</feature> | |
<feature>scr</feature> | |
</bootFeatures> | |
<installedFeatures> | |
<feature>wrapper</feature> | |
<feature>aries-blueprint</feature> | |
<feature>shell-compat</feature> | |
<feature>camel-example-rest-karaf-osgi-activator-provision</feature> | |
</installedFeatures> | |
<libraries> | |
</libraries> | |
<javase>1.8</javase> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |