Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanchooly/graven
A maven plugin to bind a gradle build to the maven lifecycle
https://github.com/evanchooly/graven
gradle java maven plugin
Last synced: 15 days ago
JSON representation
A maven plugin to bind a gradle build to the maven lifecycle
- Host: GitHub
- URL: https://github.com/evanchooly/graven
- Owner: evanchooly
- License: other
- Created: 2022-12-17T01:57:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T12:35:27.000Z (5 months ago)
- Last Synced: 2024-10-10T03:40:32.554Z (27 days ago)
- Topics: gradle, java, maven, plugin
- Language: Kotlin
- Homepage:
- Size: 402 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Graven: The Gradle Maven Plugin
This sounds like an odd beast because it is. It might even be completely unwarranted. So what problem is it trying to solve? Let's say
you have a project and in that project is a maven plugin. Because you're a kind soul, you also want to offer a gradle plugin but you
don't really want to deal with two different builds. Enter the graven maven plugin.In an ideal world, gradle resources would be in a repo somewhere fetchable and you could just add your dependencies to your pom.xml and
move on with life. If they exist somewhere I haven't found them. What this plugin does for you is bridge the lifecycles of maven's
build to gradle so that you can trigger a gradle build of your plugin from the comforts of your maven build.This plugin will also help synchronize dependency versions defined in your maven build with those needed by gradle to build your plugin.
And once all that's done, your gradle plugin artifact will be attached to your maven build as if nothing sneaky happened. With a bit of
luck, you'll hardly know you're running gradle at all!== Usage
To run graven, you need to add the plugin to your `pom.xml`:
```xml
com.antwerkz.graven
graven-maven-plugin
${graven.version}
true
```