You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/01/19 10:16:53 UTC
[httpcomponents-client] 01/01: Added oraclejdk8 and openjdk11 to
Travis-CI build matrix
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch java11-compatibility
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
commit 7269e7b020631d19ef5146b1f944d2525f8e5f2e
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Jan 19 10:50:27 2019 +0100
Added oraclejdk8 and openjdk11 to Travis-CI build matrix
---
.travis.yml | 2 ++
pom.xml | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 9b6c70b..412a660 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,8 @@ sudo: false
jdk:
- openjdk7
+ - oraclejdk8
+ - openjdk11
after_success:
- mvn clean cobertura:cobertura coveralls:report
diff --git a/pom.xml b/pom.xml
index b986f9e..cdbc84b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -407,4 +407,42 @@
</plugins>
</reporting>
+ <!-- remove once 'ignore' configuration can be configured through HC Parent -->
+ <profiles>
+ <profile>
+ <id>animal-sniffer</id>
+ <activation>
+ <file>
+ <missing>src/site/resources/profile.noanimal</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <version>${hc.animal-sniffer.version}</version>
+ <executions>
+ <execution>
+ <id>checkAPIcompatibility</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java16</artifactId>
+ <version>1.1</version>
+ </signature>
+ <ignores>java.util.concurrent.ConcurrentHashMap.KeySetView</ignores>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>