What is the difference between Nexus and Maven?
What is a basic scenario of usage only Maven? What about a scenario considering only Nexus? And how it looks when I want to use both?
What is the difference between Nexus and Maven?
What is a basic scenario of usage only Maven? What about a scenario considering only Nexus? And how it looks when I want to use both?
Whatever I understood from my learning and what I think it is is here. I am Quoting some part from a book i learnt this things. Nexus Repository Manager and Nexus Repository Manager OSS started as a repository manager supporting the Maven repository format. While it supports many other repository formats now, the Maven repository format is still the most common and well supported format for build and provisioning tools running on the JVM and beyond. This chapter shows example configurations for using the repository manager with Apache Maven and a number of other tools. The setups take advantage of merging many repositories and exposing them via a repository group. Setting this up is documented in the chapter in addition to the configuration used by specific tools.Details
Sonatype Nexus and Apache Maven are two pieces of software that often work together but they do very different parts of the job. Nexus provides a repository while Maven uses a repository to build software.
Here's a quote from "What is Nexus?":
And here is a quote from "Maven and Nexus Pro, Made for Each Other" explaining how Maven uses repositories:
So, when you want to use both you will have a repository managed by Nexus and Maven will access this repository.
This has a good general description: https://gephi.wordpress.com/tag/maven/
Let me make a few statement that can put the difference in focus:
We migrated our code base from Ant to Maven
All 3rd party librairies have been uploaded to Nexus. Maven is using Nexus as a source for libraries.
Basic functionalities of a repository manager like Sonatype are: