2020-12-22 10:01:42 +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">
|
2018-09-10 13:45:11 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2018-01-26 09:47:44 +01:00
|
|
|
|
2019-05-29 08:16:46 +02:00
|
|
|
<parent>
|
|
|
|
<groupId>org.openhab</groupId>
|
|
|
|
<artifactId>openhab-super-pom</artifactId>
|
2020-08-06 20:37:21 +02:00
|
|
|
<version>[1.0, 2.0)</version>
|
2019-05-29 08:16:46 +02:00
|
|
|
</parent>
|
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<groupId>org.openhab.core</groupId>
|
2019-01-28 13:07:31 +01:00
|
|
|
<artifactId>org.openhab.core.reactor</artifactId>
|
2020-12-20 23:24:39 +01:00
|
|
|
<version>3.1.0-SNAPSHOT</version>
|
2019-01-28 13:07:31 +01:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<packaging>pom</packaging>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2019-01-28 13:07:31 +01:00
|
|
|
<name>openHAB Core</name>
|
2018-09-10 13:45:11 +02:00
|
|
|
<description>This project contains the core components of openHAB</description>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<organization>
|
|
|
|
<name>openHAB.org</name>
|
|
|
|
<url>http://www.openhab.org</url>
|
|
|
|
</organization>
|
2017-09-21 08:18:23 +02:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<licenses>
|
|
|
|
<license>
|
2019-01-28 13:07:31 +01:00
|
|
|
<name>Eclipse Public License 2.0</name>
|
2019-01-18 23:18:49 +01:00
|
|
|
<url>https://www.eclipse.org/legal/epl-2.0/</url>
|
2018-09-10 13:45:11 +02:00
|
|
|
</license>
|
|
|
|
</licenses>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2019-05-05 17:47:41 +02:00
|
|
|
<modules>
|
|
|
|
<module>bom</module>
|
|
|
|
<module>bundles</module>
|
|
|
|
<module>features</module>
|
|
|
|
<module>tools</module>
|
2019-06-20 17:23:51 +02:00
|
|
|
<module>itests</module>
|
2019-05-05 17:47:41 +02:00
|
|
|
</modules>
|
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<scm>
|
2019-01-28 13:07:31 +01:00
|
|
|
<connection>scm:git:https://github.com/openhab/openhab-core.git</connection>
|
|
|
|
<developerConnection>scm:git:https://github.com/openhab/openhab-core.git</developerConnection>
|
2018-09-10 13:45:11 +02:00
|
|
|
<tag>HEAD</tag>
|
2019-01-28 13:07:31 +01:00
|
|
|
<url>https://github.com/openhab/openhab-core</url>
|
2018-09-10 13:45:11 +02:00
|
|
|
</scm>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<issueManagement>
|
2019-11-11 20:00:38 +01:00
|
|
|
<system>GitHub</system>
|
2018-09-10 13:45:11 +02:00
|
|
|
<url>https://github.com/openhab/openhab-core/issues</url>
|
|
|
|
</issueManagement>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>bintray</id>
|
2019-05-29 08:16:46 +02:00
|
|
|
<url>${oh.repo.distBaseUrl}/openhab-core/;publish=1</url>
|
2018-09-10 13:45:11 +02:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>jfrog</id>
|
2019-05-29 08:16:46 +02:00
|
|
|
<url>${oh.repo.snapshotBaseUrl}/libs-snapshot-local</url>
|
2018-09-10 13:45:11 +02:00
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<properties>
|
2019-01-28 13:07:31 +01:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2020-01-12 22:32:28 +01:00
|
|
|
<oh.java.version>11</oh.java.version>
|
2019-01-28 13:07:31 +01:00
|
|
|
<maven.compiler.source>${oh.java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${oh.java.version}</maven.compiler.target>
|
|
|
|
<maven.compiler.compilerVersion>${oh.java.version}</maven.compiler.compilerVersion>
|
|
|
|
|
2021-02-28 21:33:08 +01:00
|
|
|
<bnd.version>5.3.0</bnd.version>
|
2021-01-24 21:43:08 +01:00
|
|
|
<commons.net.version>3.7.2</commons.net.version>
|
2021-03-26 22:39:32 +01:00
|
|
|
<eea.version>2.3.0</eea.version>
|
2019-04-16 22:41:27 +02:00
|
|
|
<karaf.compile.version>4.2.1</karaf.compile.version>
|
2019-11-10 17:02:40 +01:00
|
|
|
<karaf.tooling.version>4.2.7</karaf.tooling.version>
|
2020-04-26 11:15:24 +02:00
|
|
|
<sat.version>0.10.0</sat.version>
|
2019-01-28 13:07:31 +01:00
|
|
|
<slf4j.version>1.7.21</slf4j.version>
|
2020-10-04 12:27:58 +02:00
|
|
|
<xtext.version>2.23.0</xtext.version>
|
2020-08-24 15:56:45 +02:00
|
|
|
<spotless.version>2.0.3</spotless.version>
|
2018-09-10 13:45:11 +02:00
|
|
|
</properties>
|
2015-12-20 22:32:25 +01:00
|
|
|
|
2019-05-05 17:47:41 +02:00
|
|
|
<dependencyManagement>
|
|
|
|
<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.runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>runtime</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>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2019-01-28 13:07:31 +01:00
|
|
|
|
|
|
|
<!-- BEG: bnd -->
|
|
|
|
|
|
|
|
<!-- Use the bnd-maven-plugin and assemble the symbolic names -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
2019-05-05 17:47:41 +02:00
|
|
|
<bnd><![CDATA[Bundle-SymbolicName: ${project.artifactId}
|
2019-01-28 13:07:31 +01:00
|
|
|
Automatic-Module-Name: ${def;bsn}
|
|
|
|
Import-Package: \\
|
2020-08-02 13:21:57 +02:00
|
|
|
io.swagger.v3.oas.annotations.*;resolution:=optional,\\
|
2019-01-28 13:07:31 +01:00
|
|
|
javax.annotation.security.*;resolution:=optional,\\
|
|
|
|
org.eclipse.jdt.annotation.*;resolution:=optional,\\
|
|
|
|
org.openhab.core.automation.annotation.*;resolution:=optional,\\
|
|
|
|
com.google.common.*;version="14.0",\\
|
|
|
|
*
|
|
|
|
-exportcontents: \\
|
|
|
|
!*.internal.*,\\
|
|
|
|
!*.impl.*, \\
|
2019-01-31 06:12:04 +01:00
|
|
|
org.openhab.*,\\
|
2019-12-27 11:10:17 +01:00
|
|
|
org.openhab.core.*
|
2021-01-12 22:01:14 +01:00
|
|
|
-noimportjava: true
|
2019-01-28 13:07:31 +01:00
|
|
|
-sources: false
|
2019-06-01 12:54:24 +02:00
|
|
|
-contract: *
|
|
|
|
-includeresource: -${.}/NOTICE, -${.}/*.xsd]]></bnd>
|
2019-01-28 13:07:31 +01:00
|
|
|
<!-- Bundle-SymbolicName: ${project.groupId}.${project.artifactId} -->
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>bnd-process</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- Required to make the maven-jar-plugin pick up the bnd generated manifest. Also avoid packaging empty Jars -->
|
|
|
|
<!-- Moved... -->
|
|
|
|
|
|
|
|
<!-- Setup the indexer for running and testing -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-indexer-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<localURLs>REQUIRED</localURLs>
|
|
|
|
<attach>false</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>index</id>
|
|
|
|
<goals>
|
|
|
|
<goal>index</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<indexName>${project.artifactId}</indexName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>test-index</id>
|
|
|
|
<goals>
|
|
|
|
<goal>index</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<indexName>${project.artifactId}</indexName>
|
|
|
|
<outputFile>${project.build.directory}/test-index.xml</outputFile>
|
|
|
|
<scopes>
|
|
|
|
<scope>test</scope>
|
|
|
|
</scopes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Define the version of the resolver plugin we use -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-resolver-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnChanges>false</failOnChanges>
|
2020-04-26 11:15:24 +02:00
|
|
|
<bndruns/>
|
2019-01-28 13:07:31 +01:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>resolve</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Define the version of the export plugin we use -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-export-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<resolve>true</resolve>
|
|
|
|
<failOnChanges>true</failOnChanges>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>export</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Define the version of the testing plugin that we use -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-testing-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>testing</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2019-01-31 11:28:31 +01:00
|
|
|
<!-- Define the version of the baseline plugin we use and avoid failing when no baseline jar exists. -->
|
|
|
|
<!-- (for example before the first release) -->
|
2019-01-28 13:07:31 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-baseline-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissing>false</failOnMissing>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>baseline</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- END: bnd -->
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</plugin>
|
|
|
|
|
2018-09-10 13:45:11 +02:00
|
|
|
<plugin>
|
2019-01-28 13:07:31 +01:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-10-02 23:36:37 +02:00
|
|
|
<version>3.8.1</version>
|
2019-02-05 09:33:15 +01:00
|
|
|
<configuration>
|
|
|
|
<compilerId>eclipse</compilerId>
|
2020-11-03 21:33:48 +01:00
|
|
|
<compilerArguments>
|
|
|
|
<annotationpath>CLASSPATH</annotationpath>
|
|
|
|
<classpath>${project.build.directory}/dependency</classpath>
|
|
|
|
</compilerArguments>
|
2019-02-05 09:33:15 +01:00
|
|
|
<compilerArgs>
|
2020-11-03 21:33:48 +01:00
|
|
|
<arg>-err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion</arg>
|
2019-02-05 09:33:15 +01:00
|
|
|
<arg>-warn:+null,+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-compiler-eclipse</artifactId>
|
2020-10-02 23:36:37 +02:00
|
|
|
<version>2.8.8</version>
|
2019-02-05 09:33:15 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
|
|
<artifactId>ecj</artifactId>
|
2020-10-02 23:36:37 +02:00
|
|
|
<version>3.23.0</version>
|
2019-02-05 09:33:15 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-01-28 13:07:31 +01:00
|
|
|
</plugin>
|
|
|
|
|
2019-02-04 14:18:17 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>3.0.0-M2</version>
|
|
|
|
</plugin>
|
|
|
|
|
2019-01-28 13:07:31 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>2.5.2</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-05-23 17:35:13 +02:00
|
|
|
<version>3.2.0</version>
|
2019-01-28 13:07:31 +01:00
|
|
|
<configuration>
|
|
|
|
<failOnError>!${quality.skip}</failOnError>
|
2020-05-23 17:35:13 +02:00
|
|
|
<doclint>none</doclint>
|
|
|
|
<excludePackageNames>*.internal,*.internal.*</excludePackageNames>
|
|
|
|
<!-- The search function is broken without the workaround below -->
|
|
|
|
<!-- See: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
|
|
|
|
<additionalJOption>--allow-script-in-comments</additionalJOption>
|
|
|
|
<bottom>
|
|
|
|
<![CDATA[
|
|
|
|
<script>
|
|
|
|
if (typeof useModuleDirectories !== 'undefined') {
|
|
|
|
useModuleDirectories = false;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
]]>
|
|
|
|
</bottom>
|
2019-01-28 13:07:31 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.5.2</version>
|
2018-09-10 13:45:11 +02:00
|
|
|
<configuration>
|
2019-01-28 13:07:31 +01:00
|
|
|
<preparationGoals>clean install</preparationGoals>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>3.7.1</version>
|
|
|
|
</plugin>
|
|
|
|
|
2019-02-01 09:04:17 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
</plugin>
|
|
|
|
|
2019-01-28 13:07:31 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2020-08-09 14:36:46 +02:00
|
|
|
<version>3.0.0-M5</version>
|
2019-01-28 13:07:31 +01:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.xtend</groupId>
|
|
|
|
<artifactId>xtend-maven-plugin</artifactId>
|
|
|
|
<version>${xtext.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>xtend-install-debug-info</goal>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
<goal>xtend-test-install-debug-info</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/xtend-gen</outputDirectory>
|
|
|
|
<testOutputDirectory>${basedir}/xtend-gen</testOutputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<basedir>${basedir}</basedir>
|
|
|
|
<header>licenses/epl-2.0/header.txt</header>
|
|
|
|
<quiet>false</quiet>
|
|
|
|
<failIfMissing>true</failIfMissing>
|
|
|
|
<strictCheck>true</strictCheck>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<mapping>
|
2019-03-06 16:10:00 +01:00
|
|
|
<groovy>JAVADOC_STYLE</groovy>
|
|
|
|
<mwe2>JAVADOC_STYLE</mwe2>
|
|
|
|
<xtend>JAVADOC_STYLE</xtend>
|
2019-01-28 13:07:31 +01:00
|
|
|
<xml>xml-header-style</xml>
|
|
|
|
</mapping>
|
|
|
|
<headerDefinitions>
|
|
|
|
<headerDefinition>licenses/epl-2.0/xml-header-style.xml</headerDefinition>
|
|
|
|
</headerDefinitions>
|
|
|
|
<includes>
|
2019-12-27 11:10:17 +01:00
|
|
|
<include>**/org/openhab/core/**/*.java</include>
|
|
|
|
<include>**/org/openhab/core/**/*.mwe2</include>
|
|
|
|
<include>**/org/openhab/core/**/*.xtend</include>
|
2019-01-28 13:07:31 +01:00
|
|
|
<include>**/org/openhab/**/*.java</include>
|
2019-03-06 16:10:00 +01:00
|
|
|
<include>**/org.openhab.core.semantics/**/*.groovy</include>
|
2019-01-28 13:07:31 +01:00
|
|
|
<include>**/feature.xml</include>
|
|
|
|
<include>**/OSGI-INF/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>target/**</exclude>
|
|
|
|
<exclude>**/pom.xml</exclude>
|
|
|
|
<exclude>_*.java</exclude>
|
2021-01-03 19:11:58 +01:00
|
|
|
<exclude>**/archetype/**/feature.xml</exclude>
|
2019-01-28 13:07:31 +01:00
|
|
|
</excludes>
|
|
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
|
|
<properties>
|
2021-01-01 16:43:46 +01:00
|
|
|
<year>2021</year>
|
2019-01-28 13:07:31 +01:00
|
|
|
</properties>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2019-01-31 11:28:31 +01:00
|
|
|
<!-- This plugin's configuration is used to store Eclipse m2e settings only. -->
|
|
|
|
<!-- It has no influence on the Maven build itself. -->
|
2019-01-28 13:07:31 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
|
|
<artifactId>karaf-maven-plugin</artifactId>
|
|
|
|
<versionRange>[4.2.1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>features-generate-descriptor</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2020-04-26 11:15:24 +02:00
|
|
|
<ignore/>
|
2019-01-28 13:07:31 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1.4.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2020-04-26 11:15:24 +02:00
|
|
|
<ignore/>
|
2019-01-28 13:07:31 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2019-02-01 16:08:44 +01:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-indexer-maven-plugin</artifactId>
|
|
|
|
<versionRange>[3.1.0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>index</goal>
|
|
|
|
<goal>local-index</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2020-04-26 11:15:24 +02:00
|
|
|
<ignore/>
|
2019-02-01 16:08:44 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2019-03-14 19:48:28 +01:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
<versionRange>[0.3.1,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>highest-basedir</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2020-04-26 11:15:24 +02:00
|
|
|
<ignore/>
|
2019-03-14 19:48:28 +01:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2019-01-28 13:07:31 +01:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
2018-09-10 13:45:11 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-03-14 19:48:28 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.openhab.tools.sat</groupId>
|
|
|
|
<artifactId>sat-plugin</artifactId>
|
|
|
|
<version>${sat.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<pmdFilter>${basedirRoot}/tools/static-code-analysis/pmd/suppressions.properties</pmdFilter>
|
|
|
|
<checkstyleProperties>${basedirRoot}/tools/static-code-analysis/checkstyle/ruleset.properties</checkstyleProperties>
|
|
|
|
<checkstyleFilter>${basedirRoot}/tools/static-code-analysis/checkstyle/suppressions.xml</checkstyleFilter>
|
|
|
|
<spotbugsExclude>${basedirRoot}/tools/static-code-analysis/spotbugs/suppressions.xml</spotbugsExclude>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sat-all</id>
|
|
|
|
<goals>
|
|
|
|
<goal>checkstyle</goal>
|
|
|
|
<goal>pmd</goal>
|
|
|
|
<goal>spotbugs</goal>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>verify</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-05-18 00:07:14 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
|
|
<version>2.10.0</version>
|
|
|
|
<configuration>
|
|
|
|
<predefinedSortOrder>recommended_2008_06</predefinedSortOrder>
|
|
|
|
<createBackupFile>false</createBackupFile>
|
|
|
|
<keepBlankLines>true</keepBlankLines>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sortpom-verify</id>
|
|
|
|
<goals>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<configuration>
|
|
|
|
<verifyFail>Stop</verifyFail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-11-03 22:40:36 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
|
|
<version>${spotless.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<java>
|
|
|
|
<eclipse>
|
|
|
|
<file>openhab_codestyle.xml</file>
|
2020-04-26 11:15:24 +02:00
|
|
|
<version>4.13.0</version>
|
2019-11-03 22:40:36 +01:00
|
|
|
</eclipse>
|
2020-04-26 11:15:24 +02:00
|
|
|
<removeUnusedImports/>
|
2019-11-03 22:40:36 +01:00
|
|
|
<importOrder>
|
|
|
|
<file>openhab.importorder</file>
|
|
|
|
</importOrder>
|
2020-04-26 11:15:24 +02:00
|
|
|
<endWithNewline/>
|
2019-11-03 22:40:36 +01:00
|
|
|
</java>
|
|
|
|
<formats>
|
|
|
|
<format>
|
|
|
|
<!-- *.xml -->
|
|
|
|
<includes>
|
|
|
|
<include>src/**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
2020-04-23 17:17:12 +02:00
|
|
|
<exclude>**/feature.xml</exclude>
|
2019-11-03 22:40:36 +01:00
|
|
|
<exclude>**/pom.xml</exclude>
|
|
|
|
</excludes>
|
|
|
|
<eclipseWtp>
|
|
|
|
<type>XML</type>
|
|
|
|
<files>
|
|
|
|
<file>openhab_wst_xml_files.prefs</file>
|
|
|
|
</files>
|
2020-04-26 11:15:24 +02:00
|
|
|
<version>4.13.0</version>
|
2019-11-03 22:40:36 +01:00
|
|
|
</eclipseWtp>
|
2020-04-26 11:15:24 +02:00
|
|
|
<trimTrailingWhitespace/>
|
|
|
|
<endWithNewline/>
|
2019-11-03 22:40:36 +01:00
|
|
|
</format>
|
2020-04-23 17:17:12 +02:00
|
|
|
<format>
|
|
|
|
<!-- feature.xml -->
|
|
|
|
<includes>
|
2020-04-26 11:15:24 +02:00
|
|
|
<include>**/src/main/feature/feature.xml</include>
|
2020-04-23 17:17:12 +02:00
|
|
|
</includes>
|
|
|
|
<eclipseWtp>
|
|
|
|
<type>XML</type>
|
|
|
|
<files>
|
|
|
|
<file>openhab_wst_feature_file.prefs</file>
|
|
|
|
</files>
|
2020-04-26 11:15:24 +02:00
|
|
|
<version>4.13.0</version>
|
2020-04-23 17:17:12 +02:00
|
|
|
</eclipseWtp>
|
2020-04-26 11:15:24 +02:00
|
|
|
<trimTrailingWhitespace/>
|
|
|
|
<endWithNewline/>
|
2020-04-23 17:17:12 +02:00
|
|
|
</format>
|
2019-11-03 22:40:36 +01:00
|
|
|
<format>
|
|
|
|
<!-- pom.xml -->
|
|
|
|
<includes>
|
|
|
|
<include>pom.xml</include>
|
|
|
|
</includes>
|
|
|
|
<eclipseWtp>
|
|
|
|
<type>XML</type>
|
|
|
|
<files>
|
|
|
|
<file>openhab_wst_pom_file.prefs</file>
|
|
|
|
</files>
|
2020-04-26 11:15:24 +02:00
|
|
|
<version>4.13.0</version>
|
2019-11-03 22:40:36 +01:00
|
|
|
</eclipseWtp>
|
2020-04-26 11:15:24 +02:00
|
|
|
<trimTrailingWhitespace/>
|
|
|
|
<endWithNewline/>
|
2019-11-03 22:40:36 +01:00
|
|
|
</format>
|
|
|
|
</formats>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openhab.tools</groupId>
|
|
|
|
<artifactId>openhab-codestyle</artifactId>
|
|
|
|
<version>${sat.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>codestyle_check</id>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-10 13:45:11 +02:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2019-01-28 13:07:31 +01:00
|
|
|
|
2019-02-04 14:18:17 +01:00
|
|
|
<plugins>
|
2019-03-14 19:48:28 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
<version>0.3.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>directories</id>
|
|
|
|
<goals>
|
|
|
|
<goal>highest-basedir</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<configuration>
|
|
|
|
<property>basedirRoot</property>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-04 14:18:17 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-java</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2020-01-12 22:32:28 +01:00
|
|
|
<version>[11.0,12.0)</version>
|
2019-02-04 14:18:17 +01:00
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-05-18 00:07:14 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.ekryd.sortpom</groupId>
|
|
|
|
<artifactId>sortpom-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-01-28 16:53:10 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2019-02-04 14:18:17 +01:00
|
|
|
</plugins>
|
2020-01-18 11:07:18 +01:00
|
|
|
<extensions>
|
2020-01-19 14:40:09 +01:00
|
|
|
<extension>
|
|
|
|
<groupId>org.openhab.tools.sat</groupId>
|
|
|
|
<artifactId>sat-extension</artifactId>
|
|
|
|
<version>${sat.version}</version>
|
|
|
|
</extension>
|
2020-01-18 11:07:18 +01:00
|
|
|
</extensions>
|
2018-09-10 13:45:11 +02:00
|
|
|
</build>
|
2017-09-21 08:18:23 +02:00
|
|
|
|
2019-01-30 08:57:06 +01:00
|
|
|
<profiles>
|
2019-03-14 19:48:28 +01:00
|
|
|
<profile>
|
|
|
|
<id>skip-check</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>skipChecks</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.openhab.tools.sat</groupId>
|
|
|
|
<artifactId>sat-plugin</artifactId>
|
|
|
|
<version>${sat.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sat-all</id>
|
|
|
|
<phase>none</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>check-bundles</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.openhab.tools.sat</groupId>
|
|
|
|
<artifactId>sat-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-01-31 11:28:31 +01:00
|
|
|
<profile>
|
|
|
|
<id>with-bnd-resolver-resolve</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>withResolver</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-resolver-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>resolve</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-01-30 08:57:06 +01:00
|
|
|
</profiles>
|
2015-12-20 22:32:25 +01:00
|
|
|
</project>
|