Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Maven version requirement in the generated POM #289

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

lutovich
Copy link
Contributor

Before this PR, it was only included in the POM used to build the plugin. It is different from the POM that's being published to Maven Central. Later is generated using generatePomFileForPluginMavenPublication gradle task. This resulted in Maven version requirement not being enforced and builds failing with confusing error messages.

Also added prerequisites section to the POM used to test the plugin.

Before this commit, it was only included in the POM used to build the
plugin. It is different from the POM that's being published to Maven Central.
Later is generated using `generatePomFileForPluginMavenPublication`
gradle task. This resulted in Maven version requirement not being
enforced and builds failing with confusing error messages.

Also added `prerequisites` section to the POM used to test the plugin.
@nedtwigg nedtwigg merged commit aa9fae9 into diffplug:master Aug 31, 2018
@lutovich lutovich deleted the mvn-version-requirement branch August 31, 2018 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants