Added one more ant pattern to gradle and maven plugins

The bug is related to the fact that initially, we were supporting slash-separated paths to projects. E.g. if the group id was `a.b.c` then we did checked for `a/b/c` folder. At certain point we've started building stubs with the `groupid` folder as such e.g. `a.b.c/artifact-id`. This is where the bug comes in. For Maven and Gradle we're using ant patterns for copying files. We're only providing the slash-separated ant pattern. With this fix, we're backward compatible (we're leaving the slash-separated one) and we're adding support for dot-delimited group id.

fixes gh-555
This commit is contained in:
Marcin Grzejszczak
2018-03-13 17:47:00 +01:00
parent 97a8e3c2f5
commit ab76b12edf
8 changed files with 34 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
:numbered:
:icons: font
:sectlinks: true
:branch: master
:branch: 1.2.x
= Spring Cloud Contract

View File

@@ -1,4 +1,4 @@
:introduction_url: https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/master
:introduction_url: https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/{branch}
== Spring Cloud Contract FAQ