openhab-core/features/karaf/pom.xml
Markus Rathgeb a37cceab67 mavenize openHAB and integrate mavenized ESH repository (#467)
* mavenize openHAB and integrate mavenized ESH repository

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 13:07:31 +01:00

130 lines
4.3 KiB
XML

<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openhab.core.features</groupId>
<artifactId>org.openhab.core.reactor.features</artifactId>
<version>2.5.0-SNAPSHOT</version>
</parent>
<groupId>org.openhab.core.features.karaf</groupId>
<artifactId>org.openhab.core.reactor.features.karaf</artifactId>
<packaging>pom</packaging>
<name>openHAB Core :: Features :: Karaf</name>
<modules>
<module>openhab-tp</module>
<module>openhab-core</module>
</modules>
<dependencies>
<!-- Distribution -->
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>framework</artifactId>
<version>${karaf.version}</version>
<type>kar</type>
<scope>provided</scope>
</dependency>
<!-- Repositories -->
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>standard</artifactId>
<version>${karaf.version}</version>
<classifier>features</classifier>
<type>xml</type>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.version}</version>
<extensions>true</extensions>
<configuration>
<startLevel>80</startLevel>
<aggregateFeatures>true</aggregateFeatures>
<checkDependencyChange>true</checkDependencyChange>
<failOnDependencyChange>false</failOnDependencyChange>
<logDependencyChanges>true</logDependencyChanges>
<overwriteChangedDependencies>true</overwriteChangedDependencies>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>features-generate-descriptor</goal>
</goals>
<phase>generate-resources</phase>
</execution>
<execution>
<id>karaf-feature-verification</id>
<goals>
<goal>verify</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<descriptors combine.children="append">
<!-- Apache Karaf -->
<descriptor>mvn:org.apache.karaf.features/framework/${karaf.version}/xml/features</descriptor>
<descriptor>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</descriptor>
<!-- Current feature under verification -->
<descriptor>file:${project.build.directory}/feature/feature.xml</descriptor>
</descriptors>
<distribution>org.apache.karaf.features:framework</distribution>
<javase>1.8</javase>
<framework>
<feature>framework</feature>
</framework>
<features>
<feature>openhab-core.tp-*</feature>
<feature>openhab-core-*</feature>
</features>
<verifyTransitive>false</verifyTransitive>
<ignoreMissingConditions>true</ignoreMissingConditions>
<fail>first</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>kura-releases</id>
<url>https://repo.eclipse.org/content/repositories/kura-releases</url>
</repository>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-maggu2810-maven</id>
<url>https://dl.bintray.com/maggu2810/maven/</url>
</repository>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>jupnp-bintray</id>
<url>https://dl.bintray.com/jupnp/mvn/</url>
</repository>
</repositories>
</project>