Archives

JFrog Software Setup

Prerequisites:
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102
SET M2_HOME=D:\Softwares\maven
SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin

Step 1: Download and Extract to D:\Softwares (https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-$latest.zip;bt_package=jfrog-artifactory-oss-zip)
Step 2: Run bat file(double click) -> D:\Softwares\jfrog-artifactory-oss-5.1.3\artifactory-oss-5.1.3\bin\artifactory.bat
Note: artifactory.bat should be running
Step 3: Successfully Installed
o http://localhost:8081/artifactory/webapp/#/home
o In welcome screen -> click next->Password admin and select maven, gradle repositories
Step 4: click artifacts->select libs-release->Set Me Up -> Generate Maven Settings->Generate Setting -> Download Snippet
Step 5: Copy the attached settings.xml in Maven Folder (.m2 folder)

Note: Replace username and password as admin and also localhost to common server IP in attached settings.xml

Maven Projects:
Step 1: Create a Maven Project
mvn archetype:generate -DgroupId=com.janani.bank -DartifactId=consumerBanking -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Step 2: It will download jars from internet and place the jars in common server
In C:\Users\Janani\consumerBanking
Step 3: add distribution management in pom