Created
October 2, 2016 09:13
-
-
Save ANierbeck/5ab5b6354d587934cc5f388cd3f6e819 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<!-- | |
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. | |
--> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.apache.karaf</groupId> | |
<artifactId>decanter</artifactId> | |
<version>1.2.1-SNAPSHOT</version> | |
<relativePath>../pom.xml</relativePath> | |
</parent> | |
<groupId>org.apache.karaf.decanter</groupId> | |
<artifactId>apache-karaf-decanter</artifactId> | |
<packaging>pom</packaging> | |
<name>Apache Karaf :: Decanter :: Assembly</name> | |
<properties> | |
<dependency.karaf.version>4.0.6</dependency.karaf.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>framework</artifactId> | |
<version>${dependency.karaf.version}</version> | |
<type>kar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.karaf.features</groupId> | |
<artifactId>standard</artifactId> | |
<version>${dependency.karaf.version}</version> | |
<classifier>features</classifier> | |
<scope>runtime</scope> | |
<type>xml</type> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.camel.karaf</groupId> | |
<artifactId>apache-camel</artifactId> | |
<version>2.17.3</version> | |
<classifier>features</classifier> | |
<scope>runtime</scope> | |
<type>xml</type> | |
</dependency> | |
</dependencies> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/feature</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>**/*</include> | |
</includes> | |
</resource> | |
</resources> | |
<plugins> | |
<!-- In order to generate features.xml compliant with all Karaf versions, including Karaf 2 --> | |
<!-- We don't use the karaf-maven-plugin and prefer the "old style" with the resource plugin | |
<plugin> | |
<groupId>org.apache.karaf.tooling</groupId> | |
<artifactId>karaf-maven-plugin</artifactId> | |
<version>3.0.3</version> | |
<executions> | |
<execution> | |
<phase>compile</phase> | |
<goals> | |
<goal>features-generate-descriptor</goal> | |
</goals> | |
<configuration> | |
<addBundlesToPrimaryFeature>false</addBundlesToPrimaryFeature> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
--> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.6</version> | |
<configuration> | |
<useDefaultDelimiters>false</useDefaultDelimiters> | |
<delimiters> | |
<delimiter>${*}</delimiter> | |
</delimiters> | |
</configuration> | |
<executions> | |
<execution> | |
<id>filter</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<goal>resources</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>attach-artifact</goal> | |
</goals> | |
<configuration> | |
<artifacts> | |
<artifact> | |
<file>target/classes/feature.xml</file> | |
<classifier>features</classifier> | |
<type>xml</type> | |
</artifact> | |
</artifacts> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>src</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
<configuration> | |
<descriptors> | |
<descriptor>src/main/descriptors/src.xml</descriptor> | |
</descriptors> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.karaf.tooling</groupId> | |
<artifactId>karaf-maven-plugin</artifactId> | |
<version>4.0.6</version> | |
<executions> | |
<execution> | |
<id>verify</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>verify</goal> | |
</goals> | |
<configuration> | |
<descriptors> | |
<descriptor>mvn:org.apache.karaf.features/framework/${dependency.karaf.version}/xml/features</descriptor> | |
<descriptor>mvn:org.apache.karaf.features/standard/${dependency.karaf.version}/xml/features</descriptor> | |
<descriptor>mvn:org.apache.karaf.features/enterprise/${dependency.karaf.version}/xml/features</descriptor> | |
<descriptor>mvn:org.apache.camel.karaf/apache-camel/2.17.3/xml/features</descriptor> | |
<descriptor>file:${project.build.directory}/classes/feature.xml</descriptor> | |
</descriptors> | |
<distribution>org.apache.karaf.features:framework</distribution> | |
<javase>1.8</javase> | |
<framework> | |
<feature>framework</feature> | |
</framework> | |
<features> | |
<feature>decanter-*</feature> | |
<feature>elasticsearch*</feature> | |
<feature>kibana*</feature> | |
</features> | |
<verifyTransitive>false</verifyTransitive> | |
<ignoreMissingConditions>true</ignoreMissingConditions> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment