Giter Site home page Giter Site logo

nexus--maven-samples's Introduction

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

nexus--maven-samples's People

Contributors

deekshithsn avatar developer-help avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.