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.
134 lines
3.9 KiB
134 lines
3.9 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
|
|
Copyright 2012-2023 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> |
|
|
|
<parent> |
|
<groupId>io.github.openfeign</groupId> |
|
<artifactId>parent</artifactId> |
|
<version>12.4</version> |
|
</parent> |
|
|
|
<artifactId>feign-core</artifactId> |
|
<name>Feign Core</name> |
|
<description>Feign Core</description> |
|
|
|
<properties> |
|
<main.basedir>${project.basedir}/..</main.basedir> |
|
</properties> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>com.squareup.okhttp3</groupId> |
|
<artifactId>mockwebserver</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-context</artifactId> |
|
<version>6.0.10</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.fasterxml.jackson.core</groupId> |
|
<artifactId>jackson-databind</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.hamcrest</groupId> |
|
<artifactId>hamcrest</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.mockito</groupId> |
|
<artifactId>mockito-core</artifactId> |
|
<version>${mockito.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<artifactId>maven-jar-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>test-jar</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-enforcer-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>enforce-banned-dependencies</id> |
|
<goals> |
|
<goal>enforce</goal> |
|
</goals> |
|
<configuration> |
|
<rules> |
|
<bannedDependencies> |
|
<message>feign-core should never include any dependencies, this is a design choice to keep core light and extend functionality using modules</message> |
|
<excludes> |
|
<exclude>*:*:*:*:*:*</exclude> |
|
</excludes> |
|
<includes> |
|
<include>*:*:*:*:test:*</include> |
|
</includes> |
|
</bannedDependencies> |
|
</rules> |
|
<fail>true</fail> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<profiles> |
|
<profile> |
|
<id>active-on-jdk-11</id> |
|
<activation> |
|
<jdk>11</jdk> |
|
</activation> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<configuration> |
|
<argLine>--illegal-access=deny</argLine> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|