From c4b2c32a97069807248b797affe24ef3d0e88fdc Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Thu, 2 Dec 2021 16:26:53 +0200 Subject: [PATCH] chore: replace exec-maven-plugin with gradle-maven-plugin --- .github/workflows/validation.yml | 2 + flow-plugins/flow-gradle-plugin/pom.xml | 63 ++++++++++--------------- 2 files changed, 28 insertions(+), 37 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 7bf26a16beb..72c37ac1ee5 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -44,6 +44,8 @@ jobs: | sort > it.modules & P3=$! wait $P1 $P2 $P3 + # - name: Sleep + # run: echo Sleeping && sleep 300 - name: Compile and Install Flow run: | # exclude gradle plugin not needed until gradle tests diff --git a/flow-plugins/flow-gradle-plugin/pom.xml b/flow-plugins/flow-gradle-plugin/pom.xml index 8992f54c873..ab50b7e0797 100644 --- a/flow-plugins/flow-gradle-plugin/pom.xml +++ b/flow-plugins/flow-gradle-plugin/pom.xml @@ -18,10 +18,6 @@ central repo is done within platform final releases. - - ./gradlew - - com.vaadin @@ -55,34 +51,40 @@ - - + - org.codehaus.mojo - exec-maven-plugin - 3.0.0 + codes.rafael.gradlemavenplugin + gradle-maven-plugin + 1.0.10 + + 7.3 + + clean + build + javadocJar + + + -x + functionalTest + -S + + - gradle prepare-package - - ${gradle.executable} - - clean - build - javadocJar - -x - functionalTest - -S - - - exec + invoke + + + org.gradle + gradle-tooling-api + 7.3-20210825160000+0000 + + - maven-resources-plugin @@ -138,20 +140,7 @@ + - - - - windows_profile - - - Windows - - - - gradlew.bat - - -