Browse Source

GH-1246: Enable offline ci dependencies (#1332)

This change enabled Circle CI Caching of dependencies to speed up
builds and checks.

* Configured proper JUnit Offline Dependency
pull/1333/head
Kevin Davis 4 years ago committed by GitHub
parent
commit
c34a77dc3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .circleci/config.yml
  2. 17
      pom.xml

14
.circleci/config.yml

@ -1,3 +1,17 @@ @@ -1,3 +1,17 @@
#
# Copyright 2012-2020 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.
#
# Java Maven CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details

17
pom.xml

@ -532,6 +532,7 @@ @@ -532,6 +532,7 @@
<exclude>travis/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>.circleci/**</exclude>
</excludes>
<strictCheck>true</strictCheck>
</configuration>
@ -571,7 +572,21 @@ @@ -571,7 +572,21 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>de.qaware.maven</groupId>
<artifactId>go-offline-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<dynamicDependencies>
<DynamicDependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>2.22.0</version>
<repositoryType>PLUGIN</repositoryType>
</DynamicDependency>
</dynamicDependencies>
</configuration>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>

Loading…
Cancel
Save