Skip to content

bdruth/maven2gradle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This tool obtains  the effective pom of the current project, reads its dependencies and generates build.gradle scripts. It also generates settings.gradle for multimodule builds.
It currently supports both single-module and multi-module POMs, inheritance, dependency management, properties - everything.

Usage:
Run Maven2Gradle main class. Parameters:
* -verbose prints the obtained effective pom
* -keepFile saves the obtained effective pom

Note: Your project will be considered multi-module only if your reactor is also a parent of at least one of your modules. Why so? Reactor project is built last, when Parent project is built first. I need reactor to be built first, because effective-pom Mojo generates needed output only if it founds modules in first project it encounters. Making reactor also a parent achieves this.


@author Antony Stubbs http://github.com/astubbs
@author Baruch Sadogursky http://github.com/jbaruch

Releases

No releases published

Packages

No packages published