Maven and Gradle setup
This section describes how to setup the Maven and Gradle protocols for Helix Artifacts.
Setting up Maven
Setup the Maven protocol for Helix Artifacts.
To find the information you need to populate the pom.xml file, Browse to the repository you want to setup and select the Information button in the top right of the repository tile to view the repository details.
For example, enter the following in your pom.xml file:
<repositories> <repository> <id>sampleMaven</id> <name>My Maven Store</name> <url>http://localhost:1603/repo/sampleMaven</url> </repository> </repositories> <distributionManagement> <repository> <id>central</id> <name>bruno-releases</name> <url>http://localhost:1603/repo/sampleMaven</url> </repository> </distributionManagement>
Setting up Gradle
Setup the Gradle protocol for Helix Artifacts.
To find the information you need to populate the build.gradle file, Browse to the repository you want to setup and select the Information button in the top right of the repository tile to view the repository details.
For example, enter the following in your build.gradle file:
repositories{ maven { url "http://localhost:1603/repo/testMavenStore" } publishing { repositories { maven { url = "http://localhost:1603/repo/testMavenStore" } } }