Skip to content

venupyneni07/maven-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 

Repository files navigation

  • Author: Moole Muralidhara Reddy
  • Email: techworldwithmurali@gmail.com
  • Website: techworldwithmurali.com , devopsbymurali.com
  • Description: Below are the steps outlined for manually building and pushing artifacts(war) to Jfrog Artifactory

Manually - Build and Push to Jfrog Artifactory

Prerequisites:

  • Git is installed
  • Maven is installed
  • Jfrog Artifactory is installed

Step 1: Clone the repository

  github url: https://github.com/techworldwithmurali/nodejs-application.git
  branch name:

Step 2:

 <distributionManagement>
      <snapshotRepository>
        <id>jfrog-snapshots</id>
        <url>http://your-host:8081/repository/maven-snapshots/</url>
      </snapshotRepository>
      <repository>
        <id>jfrog-releases</id>
        <url>http://your-host:8081/repository/maven-releases/</url>
      </repository>
    </distributionManagement>

Step 3: Update the jfrog credentials in settings.xml

<servers>
    <server>
      <id>jfrog-snapshots</id>
      <username>admin</username>
      <password>admin123</password>
    </server>
    <server>
      <id>jfrog-releases</id>
      <username>admin</username>
      <password>admin123</password>
    </server>
  </servers>

Step 4: Run the below command to push the artifacts to Jfrog Artifactory.

mvn deploy

Step 5: Verify whether artifact(war) is published or not in Jfrog Artifactory.

cli output

Congratulations. You have successfully published the artifact(war) file in Jfrog repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%