# gradle-maven-plugin
**Repository Path**: mirrors_thingsboard/gradle-maven-plugin
## Basic Information
- **Project Name**: gradle-maven-plugin
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2020-09-26
- **Last Updated**: 2023-08-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
This is fork of **LendingClub/gradle-maven-plugin** with basic maintenance.
# gradle-maven-plugin
[](https://circleci.com/gh/LendingClub/gradle-maven-plugin)
This is a maven plugin that makes it easy to invoke Gradle tasks from within Maven.
# Objective
Gradle is an awesome general-purpose tool. If your project/organization is committed to maven, switching to gradle may not
be a practical option. The plugin is conceptually similar to the maven-antrun-plugin, which allows ant to be invoked from maven.
Now instead of using Ant to perform ad-hoc tasks from within Maven, you can use Groovy/Gradle instead!
# Usage
The gradle-maven-plugin is now in Maven Central, so there is no need to declare a custom repository.
To use the plugin, simply declare the plugin and bind it to the maven lifecycle phase of your choice:
```xml
option | required | description | example |
---|---|---|---|
task | yes (or tasks) | gradle task to be invoked | <task>myTask</task> |
tasks | yes (or task) | gradle tasks to be invoked | <tasks> |
gradleVersion | no | version of gradle to use | <gradleVersion>1.6</gradleVersion> |
gradleProjectDirectory | no | path to the location of your build.gradle | <gradleProjectDirectory> |
javaHome | no | give and explicit path to a JAVA_HOME | <javaHome> /my/path/to/jdk </javaHome> |
args | no | pass argument to gradle | <args> |
jvmArgs | no | pass JVM arg to gradle | <jvmArgs> |