Once created, you can publish your Route, Service or Job item into an Artifact repository. This Artifact repository will allow you to centralize, manage and register all the items created and to be deployed on your Talend Runtime.
Before being able to publish any item, you need to set the connection to your Artifact Repository in the Studio preferences. It can be either Talend Artifact repository that ships with Talend Administration Center, or Nexus repository. For more information, see Artifact repository preferences (Talend > Artifact repository).
To publish your item:
In the Repository tree view, select the item you want to publish into the Artifact repository.
Right-click it and select Publish in the menu.
The [Publish into Artifact Repository] wizard displays.
The <Item> Version (the <Item> is Job, Route, or Service) field is automatically filled with the highest version of the item if more than one version of it is available. Change it by selecting the version you want from the list.
If the item is a root node in the repository, by default the Group ID field is automatically filled in with the org.example group ID, as shown above. Change it by typing in the name of the group in which to publish your artifact item.
If the item is not a root node in the repository, by default the Group ID field is automatically filled in with the folder structure. For example, when exporting the following Job:
The folder structure is set as the group ID by default. You can change it as needed.
Note that the SOAP data service Job including the tESBProviderRequest component that implements a service operation is not allowed to be published independently. The Job has to be published along with the service which the Job is assigned to.
The Artifact ID field is automatically filled in with the name of the item to publish. Change it according to your need.
The Version field is automatically filled in with the version of the item to publish. Change it according to your need.
By default, the Publish as Snapshot check box is selected allowing you to publish a Snapshot version of the item to the Snapshot repository. To publish a Release version of the item to the Release repository, clear this check box.
Click Finish to publish your item in the Artifact repository.
A confirmation wizard appears when you choose to publish a Release version artifact. Click OK to confirm it.
Now your item is available as an artifact in the repository and can later on be retrieved for deployment and execution on your Talend Runtime. The features of the item, including the dependencies are also published.