I was trying out the build setup plugin in Gradle 1.6-rc1 to generate a Maven POM via the maven2Gradle task. The current directory contains a pom.xml with the following content:
Thanks, that works! I had already tried out the task with an earlier version of Gradle. I know that the task is at an early stage of development. Two things stood out in the generated pom.xml that might be a bug.
If a description or no description is provided in the POM, an empty multi-line String is added.
description = """"""
The generated repositories configuration block looks like this:
thanks for pointing this out. The maven2Gradle converter uses the mavenRepo syntax when a repository is explicitly declared in the pom. Otherwise the mavenCentral() shortcut notation is used. I have to doublecheck how the description is generated. After a first view the name property of the effective pom is used as description.