Sometimes it is the little things that make the biggest impact. So here is a quick solution to a common problem when using the maven archtype plugin.
If you want to run the plugin with
x:>mvn archtype:generate
and get the error that the plugin could not be found
The plugin ‘org.apache.maven.plugins:maven-archtype-plugin’ does not exist or no valid version could be found
try to force maven to recheck the remote repositories by deleting the org/apache/maven file tree in your local repository
If this does not help, make sure you have the right mirrors in your maven settings (conf/settings.conf). This one worked for me:
Hope this helped.

Post a Comment