You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
504 lines
16 KiB
504 lines
16 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
|
|
Copyright 2012-2018 The Feign Authors |
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
|
in compliance with the License. You may obtain a copy of the License at |
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under the License |
|
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
|
or implied. See the License for the specific language governing permissions and limitations under |
|
the License. |
|
|
|
--> |
|
<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>io.github.openfeign</groupId> |
|
<artifactId>parent</artifactId> |
|
<version>9.8.0-SNAPSHOT</version> |
|
<packaging>pom</packaging> |
|
|
|
<modules> |
|
<module>core</module> |
|
<module>gson</module> |
|
<module>httpclient</module> |
|
<module>hystrix</module> |
|
<module>jackson-jaxb</module> |
|
<module>jackson</module> |
|
<module>jaxb</module> |
|
<module>jaxrs</module> |
|
<module>jaxrs2</module> |
|
<module>okhttp</module> |
|
<module>ribbon</module> |
|
<module>sax</module> |
|
<module>slf4j</module> |
|
<module>java8</module> |
|
<module>mock</module> |
|
<module>benchmark</module> |
|
</modules> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding> |
|
|
|
<!-- default bytecode version for src/main --> |
|
<main.java.version>1.6</main.java.version> |
|
<main.signature.artifact>java16</main.signature.artifact> |
|
|
|
<!-- default bytecode version for src/test --> |
|
<maven.compiler.source>1.8</maven.compiler.source> |
|
<maven.compiler.target>1.8</maven.compiler.target> |
|
|
|
<main.basedir>${project.basedir}</main.basedir> |
|
|
|
<okhttp3.version>3.6.0</okhttp3.version> |
|
<gson.version>2.5</gson.version> |
|
|
|
<junit.version>4.12</junit.version> |
|
<!-- last version supporting JDK 7 --> |
|
<assertj.version>1.7.1</assertj.version> |
|
<jackson.version>2.6.4</jackson.version> |
|
|
|
<animal-sniffer-maven-plugin.version>1.15</animal-sniffer-maven-plugin.version> |
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version> |
|
<maven-install-plugin.version>2.5.2</maven-install-plugin.version> |
|
<maven-source-plugin.version>3.0.0</maven-source-plugin.version> |
|
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> |
|
<license-maven-plugin.version>3.0</license-maven-plugin.version> |
|
<maven-jar-plugin.version>2.6</maven-jar-plugin.version> |
|
<maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
|
<maven-bundle-plugin.version>3.2.0</maven-bundle-plugin.version> |
|
<centralsync-maven-plugin.version>0.1.0</centralsync-maven-plugin.version> |
|
</properties> |
|
|
|
<name>Feign (Parent)</name> |
|
<description>Feign makes writing java http clients easier</description> |
|
<url>https://github.com/openfeign/feign</url> |
|
<inceptionYear>2012</inceptionYear> |
|
|
|
<organization> |
|
<name>OpenFeign</name> |
|
<url>https://github.com/openfeign</url> |
|
</organization> |
|
|
|
<licenses> |
|
<license> |
|
<name>The Apache Software License, Version 2.0</name> |
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
|
<distribution>repo</distribution> |
|
</license> |
|
</licenses> |
|
|
|
<scm> |
|
<url>https://github.com/openfeign/feign</url> |
|
<connection>scm:git:https://github.com/openfeign/feign.git</connection> |
|
<developerConnection>scm:git:https://github.com/openfeign/feign.git</developerConnection> |
|
<tag>HEAD</tag> |
|
</scm> |
|
|
|
<developers> |
|
<developer> |
|
<id>adriancole</id> |
|
<name>Adrian Cole</name> |
|
<email>acole@pivotal.io</email> |
|
</developer> |
|
<developer> |
|
<id>spencergibb</id> |
|
<name>Spencer Gibb</name> |
|
<email>spencer@gibb.us</email> |
|
</developer> |
|
<developer> |
|
<id>velo</id> |
|
<name>Marvin Herman Froeder</name> |
|
<email>velo br at gmail dot com</email> |
|
<url>about.me/velo</url> |
|
</developer> |
|
</developers> |
|
|
|
<distributionManagement> |
|
<repository> |
|
<id>bintray</id> |
|
<url>https://api.bintray.com/maven/openfeign/maven/feign/;publish=1</url> |
|
</repository> |
|
<snapshotRepository> |
|
<id>jfrog-snapshots</id> |
|
<url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url> |
|
</snapshotRepository> |
|
</distributionManagement> |
|
|
|
<issueManagement> |
|
<system>Github</system> |
|
<url>https://github.com/openfeign/feign/issues</url> |
|
</issueManagement> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-core</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-core</artifactId> |
|
<version>${project.version}</version> |
|
<type>test-jar</type> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-gson</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-httpclient</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-hystrix</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jackson-jaxb</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jackson</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jaxb</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jaxrs</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jaxrs</artifactId> |
|
<version>${project.version}</version> |
|
<type>test-jar</type> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-jaxrs2</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-okhttp</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-ribbon</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-sax</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-slf4j</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<version>${junit.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jvnet</groupId> |
|
<artifactId>animal-sniffer-annotation</artifactId> |
|
<version>1.0</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
<version>${gson.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.assertj</groupId> |
|
<artifactId>assertj-core</artifactId> |
|
<version>${assertj.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.squareup.okhttp3</groupId> |
|
<artifactId>okhttp</artifactId> |
|
<version>${okhttp3.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.squareup.okhttp3</groupId> |
|
<artifactId>mockwebserver</artifactId> |
|
<version>${okhttp3.version}</version> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.assertj</groupId> |
|
<artifactId>assertj-core</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<pluginManagement> |
|
<plugins> |
|
<!-- mvn -N io.takari:maven:wrapper -Dmaven=3.5.0 --> |
|
<plugin> |
|
<groupId>io.takari</groupId> |
|
<artifactId>maven</artifactId> |
|
<version>0.3.4</version> |
|
</plugin> |
|
|
|
<plugin> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${maven-compiler-plugin.version}</version> |
|
</plugin> |
|
|
|
<plugin> |
|
<artifactId>maven-jar-plugin</artifactId> |
|
<version>${maven-jar-plugin.version}</version> |
|
<configuration> |
|
<archive> |
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
|
</archive> |
|
</configuration> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<version>2.20</version> |
|
<configuration> |
|
<redirectTestOutputToFile>true</redirectTestOutputToFile> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</pluginManagement> |
|
|
|
<plugins> |
|
<plugin> |
|
<inherited>true</inherited> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<executions> |
|
<!-- Ensure main source tree compiles to Java ${main.java.version} bytecode. --> |
|
<execution> |
|
<id>default-compile</id> |
|
<phase>compile</phase> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
<configuration> |
|
<source>${main.java.version}</source> |
|
<target>${main.java.version}</target> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>animal-sniffer-maven-plugin</artifactId> |
|
<version>${animal-sniffer-maven-plugin.version}</version> |
|
<configuration> |
|
<signature> |
|
<groupId>org.codehaus.mojo.signature</groupId> |
|
<artifactId>${main.signature.artifact}</artifactId> |
|
<version>1.0</version> |
|
</signature> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>check</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
|
|
<!-- Ensures checksums are added to published jars --> |
|
<plugin> |
|
<artifactId>maven-install-plugin</artifactId> |
|
<version>${maven-install-plugin.version}</version> |
|
<configuration> |
|
<createChecksum>true</createChecksum> |
|
</configuration> |
|
</plugin> |
|
|
|
<plugin> |
|
<artifactId>maven-release-plugin</artifactId> |
|
<version>${maven-release-plugin.version}</version> |
|
<configuration> |
|
<useReleaseProfile>false</useReleaseProfile> |
|
<releaseProfiles>release</releaseProfiles> |
|
<autoVersionSubmodules>true</autoVersionSubmodules> |
|
<tagNameFormat>@{project.version}</tagNameFormat> |
|
</configuration> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>io.zipkin.centralsync-maven-plugin</groupId> |
|
<artifactId>centralsync-maven-plugin</artifactId> |
|
<version>${centralsync-maven-plugin.version}</version> |
|
<configuration> |
|
<subject>openfeign</subject> |
|
<repo>maven</repo> |
|
<packageName>feign</packageName> |
|
</configuration> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>org.apache.felix</groupId> |
|
<artifactId>maven-bundle-plugin</artifactId> |
|
<version>${maven-bundle-plugin.version}</version> |
|
<executions> |
|
<execution> |
|
<id>bundle-manifest</id> |
|
<phase>process-classes</phase> |
|
<goals> |
|
<goal>manifest</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>com.mycila</groupId> |
|
<artifactId>license-maven-plugin</artifactId> |
|
<version>${license-maven-plugin.version}</version> |
|
<configuration> |
|
<!-- session.executionRootDirectory resolves properly even with nested modules --> |
|
<header>${main.basedir}/src/etc/header.txt</header> |
|
<excludes> |
|
<exclude>.travis.yml</exclude> |
|
<exclude>.editorconfig</exclude> |
|
<exclude>.gitattributes</exclude> |
|
<exclude>.gitignore</exclude> |
|
<exclude>.mvn/**</exclude> |
|
<exclude>mvnw*</exclude> |
|
<exclude>etc/header.txt</exclude> |
|
<exclude>**/.idea/**</exclude> |
|
<exclude>LICENSE</exclude> |
|
<exclude>**/*.md</exclude> |
|
<exclude>bnd.bnd</exclude> |
|
<exclude>src/test/resources/**</exclude> |
|
<exclude>src/main/resources/**</exclude> |
|
</excludes> |
|
<strictCheck>true</strictCheck> |
|
</configuration> |
|
<dependencies> |
|
<dependency> |
|
<groupId>com.mycila</groupId> |
|
<artifactId>license-maven-plugin-git</artifactId> |
|
<version>${license-maven-plugin.version}</version> |
|
</dependency> |
|
</dependencies> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>check</goal> |
|
</goals> |
|
<phase>compile</phase> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>com.marvinformatics.formatter</groupId> |
|
<artifactId>formatter-maven-plugin</artifactId> |
|
<version>2.2.0</version> |
|
<configuration> |
|
<lineEnding>LF</lineEnding> |
|
<configFile>${main.basedir}/src/config/eclipse-java-google-style.xml</configFile> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>format</goal> |
|
</goals> |
|
<phase>verify</phase> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<profiles> |
|
<profile> |
|
<id>release</id> |
|
<build> |
|
<plugins> |
|
<!-- Creates source jar --> |
|
<plugin> |
|
<artifactId>maven-source-plugin</artifactId> |
|
<version>${maven-source-plugin.version}</version> |
|
<executions> |
|
<execution> |
|
<id>attach-sources</id> |
|
<goals> |
|
<goal>jar</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
|
|
<plugin> |
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
<version>${maven-javadoc-plugin.version}</version> |
|
<configuration> |
|
<failOnError>false</failOnError> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<id>attach-javadocs</id> |
|
<goals> |
|
<goal>jar</goal> |
|
</goals> |
|
<phase>package</phase> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|