Maven: Enabling Snapshot Downloads

By default, Maven does not allow us to download snapshots. To enable this feature so that we can download snapshots from Nexus, add the following configuration to [USER.HOME]/.m2/settings.xml:-

<?xml version="1.0"?>
<settings xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Replace http://snapshots with the actual snapshot link.

Leave a Reply

Your email address will not be published. Required fields are marked *