[amplipi] Initial contribution of AmpliPi binding (#10983)
* Initial contribution of AmpliPi binding Signed-off-by: Kai Kreuzer <kai@openhab.org> * change http client from cxf jax-rs to Jetty Signed-off-by: Kai Kreuzer <kai@openhab.org> * applied spotless Signed-off-by: Kai Kreuzer <kai@openhab.org> * Remove Jackson dependency Signed-off-by: Kai Kreuzer <kai@openhab.org> * Add support for input handling Signed-off-by: Kai Kreuzer <kai@openhab.org> * Clean up, improvements and documentation Signed-off-by: Kai Kreuzer <kai@openhab.org> * Remove unused password from configuration class Signed-off-by: Kai Kreuzer <kai@openhab.org> * Remove example properties file Signed-off-by: Kai Kreuzer <kai@openhab.org> * revert change in .gitignore Signed-off-by: Kai Kreuzer <kai@openhab.org> * Update README Signed-off-by: Kai Kreuzer <kai@openhab.org> * Address review feedback Signed-off-by: Kai Kreuzer <kai@openhab.org> * Handle ExecutionException as network error Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
69
bundles/org.openhab.binding.amplipi/pom.xml
Normal file
69
bundles/org.openhab.binding.amplipi/pom.xml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.openhab.addons.bundles</groupId>
|
||||
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>org.openhab.binding.amplipi</artifactId>
|
||||
|
||||
<name>openHAB Add-ons :: Bundles :: AmpliPi Binding</name>
|
||||
|
||||
<properties>
|
||||
<cxf-version>3.4.3</cxf-version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-source</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>add-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/gen/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>5.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.basedir}/amplipi-api.yml</inputSpec>
|
||||
<generatorName>jaxrs-cxf-client</generatorName>
|
||||
<output>${project.basedir}</output>
|
||||
<modelPackage>org.openhab.binding.amplipi.internal.model</modelPackage>
|
||||
<skipValidateSpec>true</skipValidateSpec>
|
||||
<generateApis>false</generateApis>
|
||||
<generateApiTests>false</generateApiTests>
|
||||
<generateSupportingFiles>false</generateSupportingFiles>
|
||||
<generateApiDocumentation>false</generateApiDocumentation>
|
||||
<generateModelDocumentation>false</generateModelDocumentation>
|
||||
<skipOverwrite>true</skipOverwrite>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user