I have a problem too... D:\source>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifac tId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/reposito ry -DarchetypeVersion=2.0-m4-SNAPSHOT -DgroupId=com.astro -DartifactId=myappfuse
[INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Mar 21 23:20:35 SGT 2007 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ D:\source> mraible wrote: > > Are you behind a proxy server? You can ignore the first set of > messages - those are from the archetype plugin, and as long as it says > "BUILD SUCCESSFUL" at the bottom - you're good to go. > > Matt > > On 3/16/07, Struts2 Fan <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> When I run the struts2 basic command as it is said in the quick start >> guide >> it gives the following warnings. It is much more than that but they are >> almost the same so paste here a little piece. >> >> ---------- >> the mvn command I used >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse >> -DarchetypeArtifactId=appfuse-basic-struts >> -DremoteRepositories=http://static.appfuse.org/repository >> -DarchetypeVersion=2.0-m4-SNAPSHOT -DgroupId=com.mycompany >> -DartifactId=myproject >> --------------- >> the error >> >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 164,column 37] : >> ${button.register} is not a valid >> reference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 166,column 67] : >> ${mainMenu.title} is not a valid >> reference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 167,column 72] : >> ${user.registered} is not a valid >> reference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 180,column 29] : >> ${activeUsers.title} is not a val >> id reference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 193,column 29] : >> ${flushCache.title} is not a vali >> d reference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 205,column 83] : >> ${upload.title} is not a valid re >> ference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 208,column 37] : >> ${button.upload} is not a valid r >> eference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/test/resources/web-tests.xml [line 209,column 80] : >> ${display.title} is not a valid r >> eference. >> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: >> reference : template = archetype >> -resources/src/site/site.xml [line 15,column 5] : ${reports} is not a >> valid >> reference. >> [INFO] Archetype created in dir: D:\Projeler\myproject >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD SUCCESSFUL >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 8 seconds >> [INFO] Finished at: Fri Mar 16 08:23:22 EET 2007 >> [INFO] Final Memory: 5M/9M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> When I try to run command "mvn integration-test" It cannot find the >> libraries in the repositories. Am I missing something? >> >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: org.codehaus.mojo >> ArtifactId: hibernate3-maven-plugin >> Version: 2.0-alpha-1 >> >> Reason: Unable to download the artifact from any repository >> >> org.codehaus.mojo:hibernate3-maven-plugin:pom:2.0-alpha-1 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2), >> maven-snapshots (http://snapshots.repository.codehaus.org), >> appfuse (http://static.appfuse.org/repository) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 7 seconds >> [INFO] Finished at: Fri Mar 16 08:27:29 EET 2007 >> [INFO] Final Memory: 4M/7M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Problems-with-archetype%3Acreate---integration-test-tf3412858s2369.html#a9509457 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problems-with-archetype%3Acreate---integration-test-tf3412858s2369.html#a9596451 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]