lbs-gitea/maptology/master There was a failure building this commit
Remove feign-form from the feign module since: - we are not using url-encoding or multipart mime messages between the app and the server - it introduces a dependency on lombok which will generate lots of unnecessary meta-data that ends up in the release apk - it reduces the size of the final apk by more than 30 percent.
136 lines
4.2 KiB
XML
136 lines
4.2 KiB
XML
<?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">
|
|
<parent>
|
|
<artifactId>android</artifactId>
|
|
<groupId>com.maptology</groupId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.maptology.android</groupId>
|
|
<artifactId>feign</artifactId>
|
|
<name>Maptology Android Feign</name>
|
|
<description>Source code of the generated client.</description>
|
|
<packaging>jar</packaging>
|
|
<properties>
|
|
<version.swagger>1.5.15</version.swagger>
|
|
<version.feign>9.4.0</version.feign>
|
|
<version.feign-form>2.1.0</version.feign-form>
|
|
<version.jackson>2.8.9</version.jackson>
|
|
<version.oltu>1.0.1</version.oltu>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>com.maptology</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>swagger</type>
|
|
<destFileName>maptology.json</destFileName>
|
|
<outputDirectory>${project.build.directory}/swagger/</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-codegen-maven-plugin</artifactId>
|
|
<version>2.2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<phase>process-sources</phase>
|
|
<configuration>
|
|
<inputSpec>${project.build.directory}/swagger/maptology.json</inputSpec>
|
|
<language>java</language>
|
|
<output>${project.build.directory}/generated-sources/maptology/</output>
|
|
<library>feign</library>
|
|
<generateApiDocumentation>false</generateApiDocumentation>
|
|
<generateApiTests>false</generateApiTests>
|
|
<generateModelDocumentation>false</generateModelDocumentation>
|
|
<generateModelTests>false</generateModelTests>
|
|
<generateSupportingFiles>false</generateSupportingFiles>
|
|
<invokerPackage>com.maptology.android.feign</invokerPackage>
|
|
<apiPackage>com.maptology.android.feign.api</apiPackage>
|
|
<modelPackage>com.maptology.android.feign.model</modelPackage>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<!-- required to find swagger in current reactor -->
|
|
<dependency>
|
|
<groupId>com.maptology</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>swagger</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- swagger -->
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>${version.swagger}</version>
|
|
</dependency>
|
|
|
|
<!-- feign -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-core</artifactId>
|
|
<version>${version.feign}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-jackson</artifactId>
|
|
<version>${version.feign}</version>
|
|
</dependency>
|
|
<!-- jackson -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-joda</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
|
|
<!-- oauth -->
|
|
<dependency>
|
|
<groupId>org.apache.oltu.oauth2</groupId>
|
|
<artifactId>org.apache.oltu.oauth2.client</artifactId>
|
|
<version>${version.oltu}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</project>
|