Manually update Maven m2 with "org.apache.maven.plugins" and "org.codehaus.mojo"
<p>I have a problem, I need to use Maven version 3.3.3 in offline mode. 
I set the conf file settings.xml to work offline and use the command mvn --offline ecc...</p>

<p>But when i type the command: 
<strong>mvn archetype:generate</strong></p>

<p>I see the following error:</p>

<blockquote>
  <p>[...] No plugin found for prefix 'archetype' in the current project
  and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
  available from the repositories [local (C:\Users\xxx\.m2\repository),
  central (<a href="https://repo.maven.apache.org/maven2)]" rel="nofollow">https://repo.maven.apache.org/maven2)]</a> -> [Help 1]
  org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No
  plugin found for prefix 'archetype' in the current project and in the 
  plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available
  from the repositories [local (C:\Users\xxx\.m2\repository),  central
  (<a href="https://repo.maven.apache.org/maven2)]" rel="nofollow">https://repo.maven.apache.org/maven2)]</a> at
  org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93)
  at
  org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:266)
  at
  org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
  [...]</p>
</blockquote>

<p>Is possible to update manually my local .m2 repository with "org.apache.maven.plugins" and "org.codehaus.mojo"?</p>

<p>Thanks in advance</p>