Robin Zhu [
https://community.jboss.org/people/zhuzhengwen1983] created the discussion
"start jboss-html5-mobile-archetype issue. please help me"
To view the discussion, visit:
https://community.jboss.org/message/832030#832030
--------------------------------------------------------------
I should to set .m2/settinng.xml??? How to config it???
admin1@admin-ubuntu1:~/jbossHTML5$ mvn archetype:generate
-DarchetypeArtifactId=jboss-html5-mobile-archetype
-DarchetypeGroupId=org.jboss.aerogear.archetypes -DarchetypeVersion=7.1.3.CR6
[INFO] Scanning for projects...
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-clean-plugin:2.3: Plugin
org.apache.maven.plugins:maven-clean-plugin:2.3 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-clean-plugin:jar:2.3
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-instal...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-instal...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-install-plugin:2.3: Plugin
org.apache.maven.plugins:maven-install-plugin:2.3 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-install-plugin:jar:2.3
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin
org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-p...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-p...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-site-plugin:3.0: Plugin
org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-site-plugin:jar:3.0
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin
org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assemb...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assemb...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could
not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-depend...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-depend...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-dependency-plugin:2.1: Plugin
org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not
be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-dependency-plugin:jar:2.1
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-releas...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-releas...
[WARNING] Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-release-plugin:2.0: Plugin
org.apache.maven.plugins:maven-release-plugin:2.0 or one of its dependencies could not be
resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-release-plugin:jar:2.0
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metada...
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metada...
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to
central (
http://repo.maven.apache.org/maven2):
http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central
(
http://repo.maven.apache.org/maven2):
http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from
http://repo.maven.apache.org/maven2 http://repo.maven.apache.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval of central
has elapsed or updates are forced. Original error: Could not transfer metadata
org.apache.maven.plugins/maven-metadata.xml from/to central (
http://repo.maven.apache.org/maven2):
http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from
http://repo.maven.apache.org/maven2 http://repo.maven.apache.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update interval of central
has elapsed or updates are forced. Original error: Could not transfer metadata
org.codehaus.mojo/maven-metadata.xml from/to central (
http://repo.maven.apache.org/maven2):
http://repo.maven.apache.org/maven2):
repo.maven.apache.org
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.774s
[INFO] Finished at: Fri Aug 09 07:40:49 CST 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] 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 (/home/admin1/.m2/repository), central (
http://repo.maven.apache.org/maven2 http://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixEx...
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixEx...
Screenshot from 2013-08-09 07:35:05.png
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/832030#832030]
Start a new discussion in JBoss Tools Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]