openhab-core/bundles/pom.xml

277 lines
10 KiB
XML
Raw Normal View History

<?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</groupId>
<artifactId>org.openhab.core.reactor</artifactId>
<version>2.5.0-SNAPSHOT</version>
</parent>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.reactor.bundles</artifactId>
<packaging>pom</packaging>
<name>openHAB Core :: Bundles</name>
<modules>
<module>org.openhab.core.auth.jaas</module>
<module>org.openhab.core.auth.oauth2client</module>
<module>org.openhab.core.automation</module>
<module>org.openhab.core.automation.module.media</module>
<module>org.openhab.core.automation.module.script</module>
<module>org.openhab.core.automation.module.script.rulesupport</module>
<module>org.openhab.core.automation.rest</module>
<module>org.openhab.core.config.core</module>
<module>org.openhab.core.config.discovery</module>
<module>org.openhab.core.config.discovery.mdns</module>
<module>org.openhab.core.config.discovery.usbserial</module>
<module>org.openhab.core.config.discovery.usbserial.linuxsysfs</module>
<module>org.openhab.core.config.discovery.upnp</module>
<module>org.openhab.core.config.dispatch</module>
<module>org.openhab.core.config.serial</module>
<module>org.openhab.core.config.xml</module>
<module>org.openhab.core</module>
<module>org.openhab.core.audio</module>
<module>org.openhab.core.binding.xml</module>
<module>org.openhab.core.extension.sample</module>
<module>org.openhab.core.id</module>
<module>org.openhab.core.persistence</module>
<module>org.openhab.core.scheduler</module>
<module>org.openhab.core.semantics</module>
<module>org.openhab.core.thing</module>
<module>org.openhab.core.thing.xml</module>
<module>org.openhab.core.transform</module>
<module>org.openhab.core.voice</module>
<module>org.openhab.core.boot</module>
<module>org.openhab.core.compat1x</module>
<module>org.openhab.core.karaf</module>
<module>org.openhab.core.io.console</module>
<module>org.openhab.core.io.console.eclipse</module>
<module>org.openhab.core.io.console.rfc147</module>
<module>org.openhab.core.io.console.karaf</module>
<module>org.openhab.core.io.http</module>
<module>org.openhab.core.io.http.auth</module>
<module>org.openhab.core.io.http.auth.basic</module>
<module>org.openhab.core.io.monitor</module>
<module>org.openhab.core.io.net</module>
<module>org.openhab.core.io.rest</module>
<module>org.openhab.core.io.rest.auth</module>
<module>org.openhab.core.io.rest.core</module>
<module>org.openhab.core.io.rest.log</module>
<module>org.openhab.core.io.rest.mdns</module>
<module>org.openhab.core.io.rest.optimize</module>
<module>org.openhab.core.io.rest.sitemap</module>
<module>org.openhab.core.io.rest.sse</module>
<module>org.openhab.core.io.rest.voice</module>
<module>org.openhab.core.io.transport.dbus</module>
<module>org.openhab.core.io.transport.mdns</module>
<module>org.openhab.core.io.transport.mqtt</module>
<module>org.openhab.core.io.transport.serial</module>
<module>org.openhab.core.io.transport.serial.javacomm</module>
<module>org.openhab.core.io.transport.serial.rxtx</module>
<module>org.openhab.core.io.transport.serial.rxtx.rfc2217</module>
<module>org.openhab.core.io.transport.upnp</module>
<module>org.openhab.core.io.jetty.certificate</module>
<module>org.openhab.core.model.lazygen</module>
<module>org.openhab.core.model.core</module>
<module>org.openhab.core.model.item</module>
<module>org.openhab.core.model.item.ide</module>
<module>org.openhab.core.model.item.runtime</module>
<module>org.openhab.core.model.lsp</module>
<module>org.openhab.core.model.persistence</module>
<module>org.openhab.core.model.persistence.ide</module>
<module>org.openhab.core.model.persistence.runtime</module>
<module>org.openhab.core.model.rule</module>
<module>org.openhab.core.model.rule.ide</module>
<module>org.openhab.core.model.rule.runtime</module>
<module>org.openhab.core.model.script</module>
<module>org.openhab.core.model.script.ide</module>
<module>org.openhab.core.model.script.runtime</module>
<module>org.openhab.core.model.sitemap</module>
<module>org.openhab.core.model.sitemap.ide</module>
<module>org.openhab.core.model.sitemap.runtime</module>
<module>org.openhab.core.model.thing</module>
<module>org.openhab.core.model.thing.ide</module>
<module>org.openhab.core.model.thing.runtime</module>
<module>org.openhab.core.storage.json</module>
<module>org.openhab.core.storage.mapdb</module>
<module>org.openhab.core.test</module>
<module>org.openhab.core.test.magic</module>
<module>org.openhab.core.ui</module>
<module>org.openhab.core.ui.icon</module>
</modules>
<profiles>
<profile>
<id>model-specific-profile</id>
<activation>
<file>
<exists>model.profile-marker</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>org.openhab.core.bom</groupId>
<artifactId>org.openhab.core.bom.compile-model</artifactId>
<type>pom</type>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/xtend-gen</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
<fileset>
<directory>${basedir}/src/main/generated-sources/xtend</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>src-gen</directory>
<includes>
<!-- binary version of xmi files -->
<include>**/*.xtextbin</include>
<!-- tokens - Loaded by reflection -->
<!-- See: e.g. org.openhab.core.model.parser.antlr.ItemsAntlrTokenFileProvider -->
<include>**/*.tokens</include>
</includes>
</resource>
<resource>
<directory>src</directory>
<includes>
<include>**/*.xtext</include>
</includes>
</resource>
<resource>
<directory>model</directory>
<targetPath>model</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>model-antlr-profile</id>
<activation>
<file>
<exists>org.openhab.core.model.codegen/model.profile-marker</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.2.1</version>
<inherited>false</inherited>
<executions>
<execution>
<id>install-antrl3</id>
<goals>
<goal>wget</goal>
</goals>
<phase>initialize</phase>
<configuration>
<url>http://download.itemis.com/antlr-generator-3.2.0-patch.jar</url>
<unpack>false</unpack>
<outputDirectory>/${basedir}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<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>
</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>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.openhab.core.bom</groupId>
<artifactId>org.openhab.core.bom.compile</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.openhab.core.bom</groupId>
<artifactId>org.openhab.core.bom.test</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>