You need a remote repository that you need to manage Jar that is not published in the central repository or Jar created in the project. I tried to find out how to set up a remote repository. For this setup, I will try using Nexus.
URL:https://www.sonatype.com/download-oss-sonatype Download according to the OS to be set up. Since CentOS7 is used here, click "Nexus Repository Manager OSS 3.x --Unix".
If you start it as the root user, WARNING will appear, so unzip the tar file as the starting user.
# nexus-3.3.1-01/bin/nexus start
By the way, if you run it as root user, the following WARNING will appear.
WARNING: ************************************************************
WARNING: Detected execution as "root" user. This is NOT recommended!
WARNING: ************************************************************
The management user for logging in is as follows. user : admin password : admin123
Here is a brief description of creating a dedicated remote repository.
When you click it, a screen for entering the id such as New Hosted Repository will appear.
Click the Save button to complete the registration. It is necessary to write the information of the remote repository in pom.xml, but if you select the summary tab with each repository selected, the distributionManagementg to be written in pom.xml is displayed, so you can just copy it.
Recommended Posts