2019-12-30 22:55:19 +01:00
|
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-01-28 13:07:31 +01:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.openhab.core.bundles</groupId>
|
|
|
|
<artifactId>org.openhab.core.reactor.bundles</artifactId>
|
2019-12-15 15:55:36 +01:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2019-01-28 13:07:31 +01:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>org.openhab.core.model.thing</artifactId>
|
|
|
|
|
|
|
|
<name>openHAB Core :: Bundles :: Model Thing</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openhab.core.bundles</groupId>
|
|
|
|
<artifactId>org.openhab.core.model.item</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openhab.core.bundles</groupId>
|
|
|
|
<artifactId>org.openhab.core.thing</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2020-04-11 08:29:12 +02:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<compilerId>eclipse</compilerId>
|
|
|
|
<compilerArgs>
|
|
|
|
<!-- Xtend doesn't support type annotations so warn on null analysis issues -->
|
|
|
|
<!-- See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=506374 -->
|
|
|
|
<arg>-warn:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,-nullUncheckedConversion,+null,+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2019-01-28 13:07:31 +01:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
2019-05-05 17:47:41 +02:00
|
|
|
<phase>generate-sources</phase>
|
2019-01-28 13:07:31 +01:00
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>src-gen</source>
|
|
|
|
<source>xtend-gen</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.4.0</version>
|
|
|
|
<configuration>
|
|
|
|
<includeProjectDependencies>true</includeProjectDependencies>
|
|
|
|
<includePluginDependencies>true</includePluginDependencies>
|
|
|
|
<classpathScope>compile</classpathScope>
|
|
|
|
<mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass>
|
|
|
|
<cleanupDaemonThreads>false</cleanupDaemonThreads>
|
|
|
|
<arguments>
|
2019-12-27 11:10:17 +01:00
|
|
|
<argument>file://${project.basedir}/src/org/openhab/core/model/thing/GenerateThing.mwe2</argument>
|
2019-01-28 13:07:31 +01:00
|
|
|
<argument>-p</argument>
|
|
|
|
<argument>rootPath=/${project.basedir}/..</argument>
|
|
|
|
</arguments>
|
|
|
|
<additionalClasspathElements>
|
|
|
|
<additionalClasspathElement>/${basedir}/../antlr-generator-3.2.0-patch.jar</additionalClasspathElement>
|
|
|
|
</additionalClasspathElements>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>1.6.4</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.xtend</groupId>
|
|
|
|
<artifactId>xtend-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2019-05-05 17:47:41 +02:00
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<testSourceDirectory>src.moved/test/java</testSourceDirectory>
|
2019-01-28 13:07:31 +01:00
|
|
|
</build>
|
|
|
|
</project>
|