Connect Tycho Plugins to Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Artifactory supports hosting Tycho plugins and resolving Tycho build dependencies.

To connect Tycho plugins to Artifactory:

Edit the repository URL in your pom.xml file in this format:

<repository>
	<id>REPO_NAME</id>
	<layout>p2</layout>
	<url>JFrogPlatformURL/artifactory/REPO_NAME/</url>
</repository>

Where:

  • REPO_NAME: The name of the P2 repository

  • JFrogPlatformURL: The URL of your JPD

For example:

<repository>
	<id>p2-virtual</id>
	<layout>p2</layout>
	<url>https://company.jfrog.io/artifactory/p2-virtual/</url>
</repository>

After configuring the pom.xml file, Tycho plugins will resolve dependencies through Artifactory.

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.