Marcin Grzejszczak
a0bc2eb1c4
Deprecating skipSnapshotCheck and providing fake m2 for Aether
...
without this change Aether, when having both local and remote JARs, always picks the local one, even though we don't want it to. There seems to be no way to change it via an API. We had a check in Spring Cloud Contract to throw an exception when we wanted a remote JAR but the local one was fetched. You could have changed it by providing a system property or a plugin property called `skipSnapshotCheck` or `contractsSkipSnapshotCheck`
with this change we're deprecating that flag since we're moving this logic to the internals of how we integrate with Aether. If the problem was that there was both the local and the remote JAR, what we could do is get rid of the local JAR. Obviously we don't want to remove it so what we're doing is when someone provides the REMOTE stub mode, we're creating a temporary directory and we're temporarily pointing Aether to that directory as our local m2. Since it's empty, Aether will not assume that we have any stubs stored locally. Thus, we will never have conflicts of remote vs local jars.
fixes gh-643
additional links:
- http://maven.40175.n5.nabble.com/Resolving-an-Artifact-from-Remote-Repository-instead-of-Local-td5875134.html
- https://stackoverflow.com/questions/9123004/maven-is-it-possible-to-override-location-of-local-repository-via-the-use-of-co
2018-08-23 13:30:56 +02:00
Marcin Grzejszczak
9eeb40e213
Throws exception when contract can't be serialized
...
fixes gh-704
2018-08-22 16:35:45 +02:00
Marcin Grzejszczak
9ed08fb31b
Updated branches
2018-08-22 16:17:00 +02:00
Marcin Grzejszczak
ae40e48c17
Merge branch '2.0.x'
2018-08-22 16:16:24 +02:00
Marcin Grzejszczak
814dd06cea
Fixed broken links; fixes gh-710
2018-08-22 16:16:16 +02:00
Marcin Grzejszczak
3d42ab9d35
Bumped dependency management plugin
2018-08-21 11:58:18 +02:00
Marcin Grzejszczak
f9ff03f24d
Updated Gradle to 4.9
2018-08-21 11:56:59 +02:00
Marcin Grzejszczak
b5351bd6c8
Updated the link to stub runner fat jar
2018-08-20 14:05:37 +02:00
Marcin Grzejszczak
b8adc57bf2
Merge branch '2.0.x'
2018-08-10 14:36:11 +02:00
Marcin Grzejszczak
6f1d88c9b4
Merge branch '1.2.x' into 2.0.x
2018-08-10 14:36:00 +02:00
Marcin Grzejszczak
d2f0f6322e
Added comments related to the workaround with Java HTTP client; thanks to @tomakehurst
2018-08-10 14:35:52 +02:00
Marcin Grzejszczak
a1aae6bd6c
Merge branch '2.0.x'
2018-08-09 15:51:52 +02:00
Marcin Grzejszczak
ff2621d78a
Merge branch '1.2.x' into 2.0.x
2018-08-09 15:51:44 +02:00
Marcin Grzejszczak
c8a79d5154
Merge branch '1.2.x'
2018-08-09 15:51:35 +02:00
Marcin Grzejszczak
6d630482ea
Using / for relative paths; should fix gh-697
2018-08-09 15:51:28 +02:00
Marcin Grzejszczak
80622b68a8
Merge branch '2.0.x'
2018-08-09 15:45:25 +02:00
Marcin Grzejszczak
8388757a40
Merge branch '1.2.x' into 2.0.x
2018-08-09 15:45:14 +02:00
Marcin Grzejszczak
e60eb56f2b
Removed unnecessary file separator from classpath stub provider
2018-08-09 15:45:02 +02:00
Marcin Grzejszczak
4907afbcaf
Merge branch '2.0.x'
2018-08-09 15:05:08 +02:00
Marcin Grzejszczak
0be329f6ac
Merge branch '1.2.x' into 2.0.x
2018-08-09 15:04:54 +02:00
Marcin Grzejszczak
0b79a5b360
Moar debug
2018-08-09 15:04:46 +02:00
Marcin Grzejszczak
7956970eb1
Added debug info for stubs per consumer
2018-08-09 14:12:36 +02:00
Marcin Grzejszczak
1603627ed3
Added debug info for stubs per consumer
2018-08-09 14:12:25 +02:00
Marcin Grzejszczak
e0afcd523b
Added debug info for stubs per consumer
2018-08-09 14:11:59 +02:00
Marcin Grzejszczak
87c18a5625
Merge branch '2.0.x'
2018-08-08 21:58:13 +02:00
Marcin Grzejszczak
cb31ca7bf1
Removed DirtiesContext
2018-08-08 21:58:04 +02:00
Marcin Grzejszczak
50e6344a0c
Merge branch '2.0.x'
2018-08-08 18:10:37 +02:00
Marcin Grzejszczak
ac2b89d68c
Fixed checkstyle issues
2018-08-08 18:10:30 +02:00
Marcin Grzejszczak
52ed19d194
Merge branch '1.2.x' into 2.0.x
2018-08-08 18:09:49 +02:00
Marcin Grzejszczak
e5b0a9dabc
Added better exception for null collection elements; fixes gh-703
2018-08-08 18:09:27 +02:00
Marcin Grzejszczak
884a53fd2d
Merge branch '2.0.x'
2018-08-08 18:04:38 +02:00
Marcin Grzejszczak
951443552f
Merge branch '1.2.x' into 2.0.x
2018-08-08 18:04:28 +02:00
Marcin Grzejszczak
6d1cb05a77
Removed missing DirtiesContext
2018-08-08 18:04:20 +02:00
Marcin Grzejszczak
f8b142ddea
Merge branch '2.0.x'
2018-08-08 18:03:18 +02:00
Marcin Grzejszczak
8bb61176ea
Removed dirties context on any tests
2018-08-08 18:00:58 +02:00
Marcin Grzejszczak
c9228969de
Closing and restarting WireMock stub after and before each test ( #707 )
...
fixes gh-665
2018-08-08 17:52:28 +02:00
Marcin Grzejszczak
87a3b959a0
Merge branch '2.0.x'
2018-08-06 11:54:06 +02:00
Marcin Grzejszczak
01c056e938
Merge branch '1.2.x' into 2.0.x
2018-08-06 11:53:57 +02:00
Marcin Grzejszczak
7046690842
Fixed the way body is parsed for stub generation
...
without this fixed some bodies were treated as XML where they should be treated as text
fixes gh-493
2018-08-06 11:48:40 +02:00
Marcin Grzejszczak
1b890df3f4
Using build 2.1.0.BS
2018-08-02 14:19:45 +02:00
Marcin Grzejszczak
e98b7a92b5
Fixes broken merge
2018-08-02 11:27:50 +02:00
Marcin Grzejszczak
933afbe564
Fixed corrupt merge
2018-08-02 10:58:28 +02:00
Marcin Grzejszczak
947f4f5399
Merge branch '2.0.x'
2018-08-01 17:16:13 +02:00
Marcin Grzejszczak
ec7ed5e87f
Maybe now
2018-08-01 17:15:26 +02:00
Marcin Grzejszczak
6340bd0eaa
Merge branch '2.0.x'
2018-08-01 17:14:10 +02:00
Marcin Grzejszczak
562271bb24
Fixing the build
2018-08-01 17:12:12 +02:00
Marcin Grzejszczak
0851d69ace
Merge branch '2.0.x'
2018-08-01 17:10:29 +02:00
Marcin Grzejszczak
4a6162cb5a
Migrated to 2.0.4.BS of build
2018-08-01 17:10:07 +02:00
Marcin Grzejszczak
740dd97ea4
Added a very brief history of the project; fixes gh-671
2018-08-01 15:11:53 +02:00
Marcin Grzejszczak
ce6c882fb9
Merge branch '2.0.x'
2018-08-01 14:49:46 +02:00