openhab-addons/bundles/org.openhab.binding.amplipi/pom.xml

68 lines
2.3 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.bundles</groupId>
<artifactId>org.openhab.addons.reactor.bundles</artifactId>
<version>4.1.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>