JBoss Community

Re: start jboss-html5-mobile-archetype issue. please help me

created by Denis Golovin in JBoss Tools Development - View the full discussion

Looks like default maven repository is not accessible from your workstation. Command you use should work OOTB. Check what you have in ~/.m2/settings.xml, it is used by default. It works for me with new local repo location configured with -Dmaven.repo.local=.m2  ~/Temp/testarhetype$ mvn archetype:generate -DarchetypeArtifactId=jboss-html5-mobile-archetype -DarchetypeGroupId=org.jboss.aerogear.archetypes -DarchetypeVersion=7.1.3.CR6 -Dmaven.repo.local=.m2 [INFO] Scanning for projects... [INFO]                                                                          [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO]  [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>[INFO]  [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<< [INFO]  [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] Archetype repository missing. Using the one from [org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:7.1.3.CR9] found in catalog remote Define value for property 'groupId': : test Define value for property 'artifactId': : testartifact Define value for property 'version':  1.0-SNAPSHOT: :   Define value for property 'package':  test: :  [INFO] Using property: enterprise = false [INFO] Using property: jboss-bom-enterprise-version = 1.0.4.Final-redhat-wfk-1 [INFO] Using property: name = Java EE 6 HTML5 Mobile Web Application [INFO] Using property: tableSuffix = html5mobi Confirm properties configuration: groupId: test artifactId: testartifact version: 1.0-SNAPSHOT package: test enterprise: false jboss-bom-enterprise-version: 1.0.4.Final-redhat-wfk-1 name: Java EE 6 HTML5 Mobile Web Application tableSuffix: html5mobi  Y: :  [INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Archetype: jboss-html5-mobile-archetype:7.1.3.CR6 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: groupId, Value: test [INFO] Parameter: artifactId, Value: testartifact [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: package, Value: test [INFO] Parameter: packageInPathFormat, Value: test [INFO] Parameter: package, Value: test [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: tableSuffix, Value: html5mobi [INFO] Parameter: name, Value: Java EE 6 HTML5 Mobile Web Application [INFO] Parameter: groupId, Value: test [INFO] Parameter: jboss-bom-enterprise-version, Value: 1.0.4.Final-redhat-wfk-1 [INFO] Parameter: artifactId, Value: testartifact [INFO] Parameter: enterprise, Value: false [INFO] project created from Archetype in dir: /home/eskimo/Temp/testarhetype/testartifact [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:39.184s [INFO] Finished at: Fri Aug 09 16:41:37 PDT 2013 [INFO] Final Memory: 11M/361M [INFO] ------------------------------------------------------------------------

Reply to this message by going to Community

Start a new discussion in JBoss Tools Development at Community