GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - VijayGodson/nexus--maven-samples: Series of tutorial code snippets for use

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
demo
demo
 
 
README.md
README.md
 
 
settings.xml
settings.xml
 
 

Repository files navigation

nexus--maven-samples

Series of tutorial code snippets for use #Maven publish tutorial steps Publishing artifact to Nexus snapshot and release repo using maven.

  1. Create a snapshot repo using nexus, or use default coming in out of the box.
  2. Create a release repo using nexus, or use default coming out of the box.
  3. Create a group repo having both release, snapshot and other third party repos. or use default coming out of the box.
  4. Download spring initializer project
  5. Go settings.xml under <MAVEN_INSTALL_LOCATION>\apache-maven-3.6.0\conf or C:\Users<USER_NAME>.m2
  6. Create profiles named snapshot and release in settings.xml (can be done in pom.xml as well)
  7. Add server user name and pwd in setting.xml (Encrypted recommended).
  8. Edit pom.xml and add repository and snapshot repository in distribution management tag
  9. Mark id should match in step 7 with server id of settings.xml
  10. Run mvn clean deploy, this will publish to snapshot repo
  11. Change the version from 1.0-Snapshot to 1.0
  12. Run mvn clean deploy -P release, it will deploy it to release repo

About

Series of tutorial code snippets for use

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.