From df55ab3efb045e8eb93fe976c6136fb560017b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bresson?= Date: Sun, 3 Jun 2018 03:06:37 +0200 Subject: [PATCH] Build improvements (#202) * Set "openapi-generator-maven-plugin" version to 3.0.0 * Disable maven-install-plugin in "openapi-generator-gradle-plugin" * Changes to the maven wrapper for openapi-generator-gradle-plugin * Remove deploy-file that does not work --- .../openapi-generator-gradle-plugin/pom.xml | 27 ++++++++++++++++--- .../openapi-generator-maven-plugin/README.md | 2 +- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator-gradle-plugin/pom.xml b/modules/openapi-generator-gradle-plugin/pom.xml index cea020dd7691..6f188214b087 100644 --- a/modules/openapi-generator-gradle-plugin/pom.xml +++ b/modules/openapi-generator-gradle-plugin/pom.xml @@ -8,9 +8,11 @@ 4.0.0 - openapi-generator-gradle-plugin + openapi-generator-gradle-plugin-mvn-wrapper + pom + openapi-generator-gradle-plugin (maven wrapper) + This is a maven wrapper to call gradle during installation phase - openapi-generator-gradle-plugin (gradle-plugin) @@ -24,7 +26,17 @@ + We've discussed moving the entire project to gradle https://github.com/OpenAPITools/openapi-generator/issues/200, which would avoid this fitting. --> + + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + true + + + org.fortasoft gradle-maven-plugin @@ -53,6 +65,15 @@ + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + diff --git a/modules/openapi-generator-maven-plugin/README.md b/modules/openapi-generator-maven-plugin/README.md index 087b52fd8f61..dd7aa40f099d 100644 --- a/modules/openapi-generator-maven-plugin/README.md +++ b/modules/openapi-generator-maven-plugin/README.md @@ -11,7 +11,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase) org.openapitools openapi-generator-maven-plugin - 2.3.1 + 3.0.0