Example 16.2: settings.xml
Example 16.2. Configuring Maven to Use Nexus for Releases and Snapshots:
Is the development profile really neccessary, if yes, why?
Why are snapshots enabled for the central repo?
Is the development profile really neccessary, if yes, why?
Why are snapshots enabled for the central repo?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?If you want maven to make any requests to Nexus for snapshots, then you need to enable at least one snapshot repository. You could add another repository besides central, but since it's embedded by default, we just enable snapshots for it and let Nexus deal with it. Nexus is smart enough to not request releases from snapshot repositories and vice versa. This is just a trick to get Maven to request everything and the mirror settings direct it to Nexus.
I’m happy
Loading Profile...



EMPLOYEE