Merge client-api subproject into tado binding project. (#9125)

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
This commit is contained in:
Connor Petty
2020-11-25 01:10:53 -08:00
committed by GitHub
parent af735031c5
commit 62523e135a
2 changed files with 48 additions and 105 deletions

View File

@@ -14,12 +14,56 @@
<name>openHAB Add-ons :: Bundles :: Tado Binding</name>
<pluginRepositories>
<pluginRepository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/api/tado-api.yaml</inputSpec>
<language>com.github.dfrommi.swagger.OpenHABClientGenerator</language>
<apiPackage>org.openhab.binding.tado.internal.api.client</apiPackage>
<modelPackage>org.openhab.binding.tado.internal.api.model</modelPackage>
<invokerPackage>org.openhab.binding.tado.internal.api</invokerPackage>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.github.dfrommi</groupId>
<artifactId>swagger-codegen-openhab</artifactId>
<version>0.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.openhab.binding.tado</groupId>
<artifactId>api-client</artifactId>
<version>1.4.1</version>
<scope>compile</scope>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.3</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-client</artifactId>
<version>9.4.12.v20180830</version>
</dependency>
</dependencies>