196 lines
6.6 KiB
XML
196 lines
6.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.openhab.ui</groupId>
|
|
<artifactId>org.openhab.ui.reactor</artifactId>
|
|
<version>5.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.openhab.ui.bundles</groupId>
|
|
<artifactId>org.openhab.ui.reactor.bundles</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>openHAB UI :: Bundles</name>
|
|
|
|
<modules>
|
|
<module>org.openhab.ui</module>
|
|
<module>org.openhab.ui.basic</module>
|
|
<module>org.openhab.ui.cometvisu</module>
|
|
<module>org.openhab.ui.habot</module>
|
|
<module>org.openhab.ui.habpanel</module>
|
|
<module>org.openhab.ui.iconset.classic</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<m2e.jdt.annotationpath>target/dependency</m2e.jdt.annotationpath>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.compile</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.compile-model</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.test</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Distribution -->
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>${karaf.version}</version>
|
|
<type>kar</type>
|
|
<optional>true</optional>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
<skipIfEmpty>true</skipIfEmpty>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|
|
<configuration>
|
|
<inputFile>${feature.directory}</inputFile>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>karaf-feature-verification</id>
|
|
<goals>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
<phase>verify</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>
|
|
<descriptor>mvn:org.apache.karaf.features/specs/${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>${oh.java.version}</javase>
|
|
<framework>
|
|
<feature>framework</feature>
|
|
</framework>
|
|
<features>
|
|
<feature>openhab-*</feature>
|
|
</features>
|
|
<verifyTransitive>false</verifyTransitive>
|
|
<ignoreMissingConditions>true</ignoreMissingConditions>
|
|
<fail>first</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
<artifactId>karaf-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-eea</id>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.lastnpe.eea</groupId>
|
|
<artifactId>eea-all</artifactId>
|
|
<version>${eea.version}</version>
|
|
<overWrite>true</overWrite>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|