Goto Netbeans installation folder > java > maven > conf, and here I updated the settings.xml file using administrative privilege. as http repo link will not work now, just I created an mirror for central repo that is pre-built with IDE which cannot be changed. Add this inside mirrors tag of
settings.xml
<mirror>
<id>mirror1</id>
<mirrorOf>central</mirrorOf>
<name>mirror1</name>
<url>https://repo.maven.apache.org/maven2/</url>
</mirror>