Skip to content

Commit

Permalink
chore: allow maven to cache post-success maven plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rhwood committed Jun 13, 2019
1 parent 1a0b474 commit 7b21918
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
# cache maven dependencies needed for after_success script
- mvn dependency:go-offline

script:
- mvn clean test jacoco:report coveralls:report --batch-mode --settings .travis.settings.xml
Expand Down
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,27 @@ limitations under the License.
</plugin>
</plugins>
</reporting>
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>eclipse-egit</id>
<url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-plugins</id>
<url>http://repo.spring.io/plugins-release/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>

0 comments on commit 7b21918

Please sign in to comment.