Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Gradle from Maven

I'm looking for some Gradle executor plugin for Maven (similar to Maven ant-run plugin).
Google did not help.

Is it possible that such plugin doesn't exist?

like image 705
orshachar Avatar asked Jun 02 '13 11:06

orshachar


People also ask

Can I use Gradle with Maven?

If you've been working with Maven and find that your project has outgrown it, it is possible to migrate from Maven to Gradle.

Can we convert Maven project to Gradle?

The first step is to run gradle init in the directory containing the (master) POM. This will convert the Maven build to a Gradle build, generating a settings. gradle file and one or more build. gradle files.


1 Answers

I should try this: https://github.com/if6was9/gradle-maven-plugin

This is a maven plugin that makes it easy to invoke gradle from maven.

It is similar to the maven-antrun-plugin that allows ant to be invoked from maven.

like image 133
orshachar Avatar answered Oct 05 '22 23:10

orshachar