Commit Graph

746 Commits

Author SHA1 Message Date
Marcin Grzejszczak
3350802bd5 Merge branch '2.2.x' 2020-12-10 08:58:21 +01:00
bono007
172175929c Removes the exclusions of old asm lib from jsonpath lib. (#1578)
Reverts gh-1568
2020-12-10 08:57:36 +01:00
Shannon Pamperl
7804933b21 Attempt to keep Kotlin totally off the classpath (#1558)
* Attempt to keep Kotlin totally off the classpath

* Add version header for new class

* Fix a few bugs with the samples and provide better debugging output for javaexec

* Use main consistently

* Fix Gradle's published pom and use maven-publish plugin consistently throughout plugin and samples

* Re-add groovydoc jar

* Have assemble create the groovydoc jar

* Switch to publishToMavenLocal

* Sync dependencies with pom.xml and fix null provider for Gradle versions less than 6.2

* Perform quoting conditionally for Windows only

* Add jsch, aether, and shaded libraries to round out compatibility

* Ensure contract tests are generated before kotlin compile task
2020-12-03 10:24:55 +01:00
buildmaster
a3268f908a Going back to snapshots 2020-12-01 23:43:23 +00:00
buildmaster
5625fc8972 Update SNAPSHOT to 3.0.0-M6 2020-12-01 23:31:52 +00:00
Marcin Grzejszczak
3305ee31b3 Merge branch '2.2.x' 2020-12-01 13:35:17 +01:00
Marcin Grzejszczak
de8333deed Exludes asm libraries from jsonassert
fixes gh-1568
fixes gh-1561
2020-12-01 13:33:30 +01:00
Marcin Grzejszczak
d8f6e17af5 Removed most of deprecations; fixes gh-1570 2020-11-26 12:58:47 +01:00
Olga Maciaszek-Sharma
5245a8869f Fix stubsDir for publishStubsToScmTask. (#1560) 2020-11-19 21:56:49 +01:00
buildmaster
f11212c2c1 Going back to snapshots 2020-11-17 21:41:10 +00:00
buildmaster
6a0b4555ea Update SNAPSHOT to 3.0.0-M5 2020-11-17 21:29:39 +00:00
Marcin Grzejszczak
88e27ede80 Removed jetbrains imports 2020-11-16 08:19:11 +01:00
Marcin Grzejszczak
131cc70642 Bumped Boot 2020-11-13 08:12:56 +01:00
Marcin Grzejszczak
36efa18caf Downgraded maven resolver to 1.4 to align with Maven 3.6 2020-11-12 18:21:29 +01:00
Marcin Grzejszczak
0d761309fd Merge remote-tracking branch 'origin/2.2.x' 2020-11-10 22:19:23 +01:00
Marcin Grzejszczak
3477371021 Fixed naming 2020-11-10 22:07:02 +01:00
Marcin Grzejszczak
6873826d72 Made the StubGenerators not check if they are applicable to a file 2020-11-10 17:51:01 +01:00
Marcin Grzejszczak
d92d224e20 Merge remote-tracking branch 'origin/2.2.x' 2020-11-10 15:35:41 +01:00
Marcin Grzejszczak
0cbf8e9ca7 Introduced File for verifying if a stubgenerator should be used 2020-11-10 14:50:26 +01:00
Shannon Pamperl
eb66dca930 Fixes for remote contracts (#1554)
* Make contractsDslDir return null if neither directory exists at task configuration time

* Fixup docs type and make the wording a little more clear

* Allow username to be null for ls-remote command.

* Rework git commit id discovery to handle multiple uri schemes as well as fixing the bug with the MapProperty becoming finalized on first read and then not being able to further edit it (eg: in order to add git.commit)
2020-11-10 08:20:33 +01:00
buildmaster
8871838e69 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-11-09 11:40:11 +00:00
buildmaster
81d2e7b3e9 Going back to snapshots 2020-11-09 11:40:10 +00:00
buildmaster
1ea1ea7113 Update SNAPSHOT to 2.2.5.RELEASE 2020-11-09 11:28:29 +00:00
Marcin Grzejszczak
4ed8402567 Updated Pact to 4.0.10 2020-11-09 11:21:19 +01:00
Shannon Pamperl
e251dd13f3 Migrate DSL contracts to 'contractTest' source set (#1531)
* Begin migration of contract DSL
* Updates to docs relevant to moving default contracts for Gradle
* Switch to conventional lazy properties so that Gradle can automatically handle directory existence for us
2020-11-09 10:26:06 +01:00
Marcin Grzejszczak
4fcd95c5f6 Migrating to Boot 2.4.0-RC1 2020-11-04 11:28:34 +01:00
dependabot-preview[bot]
4084017246 Bump maven-project-info-reports-plugin from 3.1.0 to 3.1.1 (#1550)
Bumps [maven-project-info-reports-plugin](https://github.com/apache/maven-project-info-reports-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-project-info-reports-plugin/releases)
- [Commits](https://github.com/apache/maven-project-info-reports-plugin/compare/maven-project-info-reports-plugin-3.1.0...maven-project-info-reports-plugin-3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-02 09:48:54 +01:00
Shannon Pamperl
9df4da4ef5 Skip tasks when input directory is empty (#1530) 2020-10-17 07:36:20 +02:00
buildmaster
1bfa966550 Bumping versions 2020-10-17 00:21:05 +00:00
buildmaster
2582109f9d Bumping versions 2020-10-05 00:22:09 +00:00
buildmaster
68a657f2c0 Going back to snapshots 2020-10-03 14:55:00 +00:00
buildmaster
4e5267f939 Update SNAPSHOT to 3.0.0-M4 2020-10-03 14:39:36 +00:00
Marcin Grzejszczak
24c930acd2 Added a milestone profile to the maven build 2020-10-03 08:38:23 +02:00
Shannon Pamperl
e91b91efba Convert Gradle plugin from Groovy to Java (#1480)
* Migrate ContractsCopyTask from Groovy to Java

* Convert code to Java

* Refactor ContractsCopyTask

* Migrate GenerateClientStubsFromDslTask from Groovy to Java.

* Refactor GenerateClientStubsFromDslTask

* Clean up configuration of stubsJar

* Migrate GenerateServerTestsTask from Groovy to Java

* Refactor GenerateServerTestsTask

* Migrate PublishStubsToScmTask from Groovy to Java

* Refactor PublishStubsToScmTask

* Remove dead code

* Add additional test to ensure merged contract repository settings works the same as it did before. Add .get() calls to trigger task configuration otherwise, we can miss errors with task configuration.

* Fixup all visibility modifiers and drop any deprecated functionality

* Migrate plugin from Groovy to Java

* Refactor plugin from Groovy to Java

* Fixup project.version where it might not be correctly available yet

* Fix tests that were broken

* Fix functional testing that was failing

* Update functional tests to ensure that up-to-date checks are running as expected

* Added comment around deleteStubsAfterTest in each of the tasks where it is used, to remind editors what the property is for.

* Enable support for build cache

* Reconcile documentation with code

* Remove TODO that has been answered

* Add documentation on how to customize the verifierStubsJar

* Fix failing test

* Allow contractsDirectory to be null

* Fix failing tests

* Move all main source code to java source set
2020-10-02 17:39:53 +02:00
buildmaster
77fc817643 Bumping versions 2020-09-30 00:22:43 +00:00
Stessy Delcroix
a9c862f9f8 Rewrite spring-cloud-contract-pact module (#1520)
part of gh-1470
2020-09-29 18:41:30 +02:00
buildmaster
ea4bb31077 Bumping versions 2020-09-24 00:22:32 +00:00
Marcin Grzejszczak
85b3a0c966 Added missing new line 2020-09-23 11:59:15 +02:00
Marcin Grzejszczak
87cd26b562 Rerun test/stub generation when 'clean' was called; fixes gh-1514 2020-09-22 13:57:58 +02:00
Marcin Grzejszczak
b738eca9f4 Fixed wrong conditional on missing beans for messaging; fixes gh-1513 2020-09-21 11:21:48 +02:00
Marcin Grzejszczak
2121b0b1b4 Added a CUSTOM test mode for test generation 2020-09-17 17:29:48 +02:00
buildmaster
ffd6574532 Bumping versions 2020-09-17 00:23:53 +00:00
Marcin Grzejszczak
adbbae446a libs-x-local to just 'x' migration. Fixes gh-1507 2020-09-11 09:59:37 +02:00
Marcin Grzejszczak
a2fac97148 Added GraphQL support (#1506)
fixes #670
2020-09-11 09:32:11 +02:00
dependabot-preview[bot]
58cb2256ce Bump maven-site-plugin from 3.8.2 to 3.9.1 (#1490)
Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.8.2 to 3.9.1.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.8.2...maven-site-plugin-3.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 11:18:00 +02:00
Marcin Grzejszczak
8f12bc2ec0 Fixed reactor to 2020.0.0-SNAPSHOT 2020-08-24 10:53:29 +02:00
Marcin Grzejszczak
a915cf102b Messaging polyglot support (#1472)
added support for AMQP, KAFKA and standalone options
2020-08-21 18:05:32 +02:00
Stessy Delcroix
fca9b69766 Rewrite WireMockToDslConverter to Java (#1471)
* Rewrite WireMockToDslConverter to Java

* Fixes imports and code formatting

part of gh-1470
2020-08-18 11:57:22 +02:00
Shannon Pamperl
ba22c687c8 Disable stubsJar publication by default. (#1464)
Fixes gh-1168.
2020-08-07 16:01:53 +02:00
Marcin Grzejszczak
242c8208a9 Adds metadata to contracts (#1466)
fixes #1340
fixes #1078 
fixes #1406
2020-08-04 13:36:22 +02:00