Closed vavvolo closed 3 years ago
@galovics if you think it's better to change the Maven plugin I'll open a PR in the other project to clean the default values when oldApi
is provided.
@vavvolo thanks, I've merged this rather than changing the plugin. Let's aim for consistency in functionality instead of adding specific behavior to the plugins themselves.
The swagger brake Maven plugin sets default values for the
groupId
,artifactId
, andcurrentVersion
parameters. This causes an error when using theoldApi
parameter from the Maven plugin. Rather than removing the default values from the Maven plugin and introducing breaking changes, this PR updates the logic in the core library. This should not introduce breaking changes because current users of the library use either theold-api
param or the Maven settings.