<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>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<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">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.openhab.binding.tado</groupId>
- <artifactId>api-client</artifactId>
- <version>1.4.1</version>
-
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <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}/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>
-
- <configOptions>
- <artifactId>tado</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- </configOptions>
- </configuration>
- </execution>
- </executions>
-
- <dependencies>
- <dependency>
- <groupId>com.github.dfrommi</groupId>
- <artifactId>swagger-codegen-openhab</artifactId>
- <version>0.2</version>
- </dependency>
- </dependencies>
- </plugin>
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>4.1.0</version>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- <outputDirectory>${project.basedir}/../../../lib</outputDirectory>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <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>
-</project>
-