Commit Graph

44 Commits

Author SHA1 Message Date
Marcin Grzejszczak
0fd91976f3 Added excludeBuildFolders property
without this change when we work with the repo with common contracts then in the logs we can see that a lot of unnecessary files are processed. Those files are related to the fact that `target` / `build` folders are created and reside in the path in which we're searching for contracts. Due to this we have duplicates in terms of converting files.
with this change we add the `excludeBuildFolders` property that is by default turned off. If you enable it in the `pom.xml` that is used by the consumers to install stubs locally then the target folder gets ignored.

fixes #167
2016-12-28 12:28:07 +01:00
Dave Syer
29a726e773 Add lifecycle mapping for m2e 2016-12-15 10:45:53 +00:00
Marcin Grzejszczak
7a347da55a Going back to snapshots 2016-11-24 18:58:50 +01:00
Marcin Grzejszczak
c7883a0d97 Bumping version before release 2016-11-24 18:37:39 +01:00
Marcin Grzejszczak
a5642265cd Fixed the way contracts are packaged and tests are generated for plugins
the biggest problem was related with the scenario in which a jar with shared contracts is downloaded
with this change the output JAR structure is proper

fixes #156
2016-11-24 16:56:58 +01:00
Marcin Grzejszczak
c2a1efa9dc Plugins are generating tests for all contracts when using external contracts
When using contract plugins together with a shared repo with contracts we end up with creating contract tests for all the contracts. Stubs are created properly but tests generation ignores the path pattern.
With this change we fix the way tests are generated

fixes #155
2016-11-23 17:43:25 +01:00
Marcin Grzejszczak
74574b3dc6 Added exclusion on demand of files from jar
without this change you can't control what should be excluded from your folder in the output stubs jar. That way when having a common repo with contracts you had the whole target put into stubs jar
    with this change you can set e.g. `**/target/**/*.*` to exclude anything from the target folder

    fixes #145
2016-11-14 15:54:57 +01:00
Marcin Grzejszczak
f4a6b4f4b1 Going back to snapshots 2016-10-17 12:22:17 +02:00
Marcin Grzejszczak
dd214f83f6 Bumping versions before release 2016-10-17 11:54:52 +02:00
Marcin Grzejszczak
7072284c95 Making Windows build pass (#109)
* had to ignore some tests for Windows due to absurd exceptions
* fixed escaping path for directory matching

fixes #98
2016-10-16 13:47:46 +02:00
Marcin Grzejszczak
37bc32ea76 Fixing the tests for Windows 2016-10-10 15:56:49 +02:00
Marcin Grzejszczak
1e3c67e163 Added missing deps for runner
fixes #88
2016-10-04 16:27:15 +02:00
Mariusz Smykuła
09cf63a600 stubs mappings directory should be the same for convert and run mojo (#95) 2016-09-30 07:55:35 +02:00
Mariusz Smykuła
61ca5a489c Fix for #87: 3.2.5 is minimum version of Maven required to use the plugin (#91) 2016-09-28 21:17:43 +02:00
Mariusz Smykuła
e5c3d57bdf stubs mappings directory should be the same for convert and run mojo. (#89) 2016-09-27 22:19:14 +02:00
Marcin Grzejszczak
0694d5b6f6 Updated docs 2016-09-23 22:44:01 +02:00
Marcin Grzejszczak
6381362ad6 Going back to Snapshots 2016-09-23 21:04:10 +02:00
Marcin Grzejszczak
8ee2ef4b18 Bumping versions before release 2016-09-23 20:07:58 +02:00
Marcin Grzejszczak
e8917940ec Added option of multiple test base classes
without this change the user was forced to use a single base class for all of the generated tests. It could become problematic after some time.

With this change we provide a range of options of providing different base classes for different contracts.

fixes #16
2016-09-23 15:52:14 +02:00
Marcin Grzejszczak
01f4ad76be Consumer Contracts (#83)
With this functionality you can have one centralized repository containing all contracts. This repo will have to produce a JAR containing all contracts. The layout of the repository can be arbitrary but some sensible defaults are assumed. The producer will be able to then download that JAR and produce tests and stubs from it.

fixes #38
2016-09-23 10:16:51 +02:00
Marcin Grzejszczak
2d4657a414 Removed RELEASE profile 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
24b3f80e8c Going back to SNAPSHOTs 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
411ca5886b Bumping versions before RC1 release 2016-09-08 23:25:23 +02:00
Marcin Grzejszczak
ae655f190f Changing aether version (#76)
we want to be consistent with Spring Boot CLI

fixes #75
2016-09-06 20:28:20 +02:00
Mariusz Smykuła
99d64cb109 simplifed maven configuration and url fixes (#70) 2016-09-01 22:05:08 +02:00
Marcin Grzejszczak
bfc2172d66 Applied checkstyle rules 2016-08-29 12:04:21 +02:00
Marcin Grzejszczak
c59306ce5d Going back to snapshots 2016-08-27 00:27:55 +02:00
Marcin Grzejszczak
bf60a6b72f Bumping versions before release 2016-08-26 23:51:33 +02:00
Dave Syer
f5183fcde3 Change repo URLs to https 2016-08-17 17:31:25 +01:00
Marcin Grzejszczak
c7665db7d9 Fixed code style issues 2016-08-12 11:46:41 +02:00
Marcin Grzejszczak
3552684f93 Invalid array size check
there was a problem with the way property related to array size check was passed. Not only was the condition inverse, but also the properties weren't passed.

With this change those issues were fixed, we've added the missing maven plugin feature and ensured that the array check is the default option.

fixes #60
2016-08-11 14:33:30 +02:00
Marcin Grzejszczak
e0f206689e Updated wrong manifest creation 2016-08-03 07:01:44 -07:00
Marcin Grzejszczak
8f9856d0f2 Deploying maven and gradle plugins to libs-snapshot-local 2016-07-25 12:48:05 +02:00
Marcin Grzejszczak
03e976f8ac Disabling maven plugin reports 2016-07-22 20:11:30 +02:00
Marcin Grzejszczak
ddc66b4c0c Going back to Snapshots 2016-07-22 16:22:47 +02:00
Marcin Grzejszczak
62f7d48f8d Bumping version before M1 release 2016-07-22 16:17:30 +02:00
Marcin Grzejszczak
5ef7a7fee2 Changed client / server to consumer / producer 2016-07-21 12:08:38 +02:00
Marcin Grzejszczak
72e67d6397 Polish 2016-07-20 19:39:01 +02:00
Marcin Grzejszczak
5b900561c9 Migrated from Groovy to Java in Maven plugin 2016-07-20 12:26:50 +02:00
Marcin Grzejszczak
7b99b1c8d5 Made Maven plugin react on test skipping 2016-07-19 18:06:36 +02:00
Dave Syer
de00a6bb35 Fix maven plugin dependencies 2016-07-19 14:41:45 +01:00
Dave Syer
675278eb4f Remove some references to deleted projects 2016-07-19 14:35:08 +01:00
Dave Syer
4137d964f8 Move verifier up to top level 2016-07-19 14:35:08 +01:00
Dave Syer
15dc75dece Move plugins in to tools folder
Also rename plugins removing 'verifer'.
2016-07-15 10:49:14 +01:00