mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
88c0b720c6
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+). The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15. * Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4 For the Nashorn changelog, see: https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md * Update parent to 4.0.0-SNAPSHOT * Remove removeUnsupportedNashornArgs * Update scriptTypes * Add CODEOWNERS entry * Recycle ScriptScopeOSGiTest.java It got removed in openhab/openhab-core#2994 * Remove redundant new line from pom.xml Signed-off-by: Wouter Born <github@maindrain.net>
208 lines
6.7 KiB
XML
208 lines
6.7 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.addons</groupId>
|
|
<artifactId>org.openhab.addons.reactor</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.openhab.addons.itests</groupId>
|
|
<artifactId>org.openhab.addons.reactor.itests</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>openHAB Add-ons :: Integration Tests</name>
|
|
|
|
<modules>
|
|
<module>org.openhab.automation.jsscriptingnashorn.tests</module>
|
|
<module>org.openhab.binding.astro.tests</module>
|
|
<module>org.openhab.binding.avmfritz.tests</module>
|
|
<module>org.openhab.binding.feed.tests</module>
|
|
<module>org.openhab.binding.hue.tests</module>
|
|
<module>org.openhab.binding.max.tests</module>
|
|
<module>org.openhab.binding.mielecloud.tests</module>
|
|
<module>org.openhab.binding.modbus.tests</module>
|
|
<module>org.openhab.binding.mqtt.homeassistant.tests</module>
|
|
<module>org.openhab.binding.mqtt.homie.tests</module>
|
|
<module>org.openhab.binding.nest.tests</module>
|
|
<module>org.openhab.binding.ntp.tests</module>
|
|
<module>org.openhab.binding.systeminfo.tests</module>
|
|
<module>org.openhab.binding.tradfri.tests</module>
|
|
<module>org.openhab.binding.wemo.tests</module>
|
|
<module>org.openhab.persistence.mapdb.tests</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<m2e.jdt.annotationpath>target/dependency</m2e.jdt.annotationpath>
|
|
<org.osgi.service.http.port>9090</org.osgi.service.http.port>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.openhab-core</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.compile</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</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>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.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>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- BEG: itests common -->
|
|
<id>itests-common</id>
|
|
<activation>
|
|
<file>
|
|
<exists>itest.bndrun</exists>
|
|
</file>
|
|
</activation>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.test</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.test-index</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.openhab-core-index</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openhab.core.bom</groupId>
|
|
<artifactId>org.openhab.core.bom.runtime-index</artifactId>
|
|
<version>${ohc.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
<configuration>
|
|
<bndfile>itest.bndrun</bndfile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-indexer-maven-plugin</artifactId>
|
|
<configuration>
|
|
<includeJar>true</includeJar>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-testing-maven-plugin</artifactId>
|
|
<configuration>
|
|
<bndruns>
|
|
<bndrun>itest.bndrun</bndrun>
|
|
</bndruns>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bnd-resolver-maven-plugin</artifactId>
|
|
<configuration>
|
|
<bndruns>
|
|
<bndrun>itest.bndrun</bndrun>
|
|
</bndruns>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>reserve-network-port</id>
|
|
<goals>
|
|
<goal>reserve-network-port</goal>
|
|
</goals>
|
|
<phase>process-resources</phase>
|
|
<configuration>
|
|
<portNames>
|
|
<portName>org.osgi.service.http.port</portName>
|
|
</portNames>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</profile>
|
|
<!-- END: itests common -->
|
|
</profiles>
|
|
|
|
</project>
|