Maven
- Can I import a Maven build?
- Can I publish to Maven repositories?
- Can I use Maven repositories to retrieve dependencies?
- Can I use my pom.xml for dependencies declaration?
Can I import a Maven build?
Last updated July 24th, 2009
You can not import a Maven build into Gradle yet. Once Maven 3 is out we plan to provide such a functionality. Maven 3 provides support for embedded usage, which we will need to support this.
Back to top | Was this helpful? Yes - No
Can I publish to Maven repositories?
Last updated July 24th, 2009
Yes. You can publish any artifact to a Maven repository. Gradle automatically generates the pom.xml and publishes both to a Maven repository. The publishing includes all necessary Maven metadata manipulation in the public repository. Gradle also supports installing artifacts to the local Maven cache (including all Maven metadata manipulation). We use the Maven Ant tasks under the hood for this, thus we can guarantee one hundred percent compatibility.
Back to top | Was this helpful? Yes - No
Can I use Maven repositories to retrieve dependencies?
Last updated July 24th, 2009
Yes. Gradle can read from Maven repositories and understands the pom.xml. The functionality for this is provided by Ivy, which is capable of integrating with Maven repositories for retrieving dependencies.
Back to top | Was this helpful? Yes - No
Can I use my pom.xml for dependencies declaration?
Last updated July 24th, 2009
This is not possible yet. Once Maven 3 is out we plan to provide such a functionality. Maven 3 provides support for embedded usage, which we will need to support this.
Back to top | Was this helpful? Yes - No