Welcome to Intershop’s Tutorial Prepare Your Artifact Repository Server. In this tutorial we want to show you how to prepare a local Nexus Artifact Repository server as a central tool to deploy servers in a CI environment.
This tutorial is related to the Video Tutorial - Simple Setup of a Development-System (valid to 7.10).
The setup of a CI infrastructure with CI servers and version control system are not part of this tutorial. The following artifact repository servers are available and work with the Intershop Continous delivery tools: the Sonatype Nexus, JFrog Artifactory and Apache Archiva. In this tutorial we only installed and started the Sonatype Nexus.
In this tutorial we use Sonatype Nexus 2.x.
In this tutorial we want to prepare a local artifact repository server that will be used for the deployment of the Intershop Commerce Management (see also: Video Tutorial - Simple Setup of a Development-System (valid to 7.10)).
For this tutorial we already installed and started the Artifact Repository Sonatype Nexus. Now start with the following:
Start with all proxy repositories (according to 18.104.22.168, 22.214.171.124): Enter the ID, the Name and the Remote Storage Location from Central, JCenter and Intershop. Intershop ivy and intershop maven are no longer relevant.
As of March 31, 2021, JCenter no longer provides new artifacts. Therefore Gradle deprecated the jCenter repository configuration and will remove this in the next major version. Intershop switched for new artifacts also to Maven Central.
What is necessary for the future? Add to your Maven repository configuration parallel to the JCenter configuration a configuration for Maven Central.
You need an authentication for the Intershop.Proxy.Repository -> Login and Username are defined in the Support Contract Details.
Please make sure that Discovery is unchecked in the routing tab.
Modify the build.gradle file under intershop-cisetup-template-master.
setupDirectory = '/home/intershop1/intershop-cisetup-sources' repoBaseURL = 'http://localhost:8081/nexus/content' projectName = 'a_responsive'
disableSCM = true
Execute the following commands with special configuration-parameters:
./gradlew publish -PrunOnCI=true -PreleaseURL=http://localhost:8081/nexus/content/repositories/distributions/ -PrepoUserName=ish_deploy -PrepoUserPasswd=intershop -PscmVersionExt=RELEASE
You will need the URL of the corporate distribution .zip file later in the project as distribution URL in the gradle wrapper properties files.
Publish the already existing oracle project to the Nexus.
Prepare the build of the Cartridge with Oracle JDBC driver libraries.
./gradlew publish -PreleaseURL=http://localhost:8081/nexus/content/repositories/releases/ -PrepoUserName=ish_deploy -PrepoUserPasswd=intershop
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.