Alo semuanya, maaf nih mau nanya lagi. Saya sudah install maven2 dan berhasil. Dari ebook yg saya baca katanya kalau mau buat project starter saya disuruh ketik : mvn archetype:create –DgroupId=com.fdar.apress.s2 –DartifactId=app -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.9-SNAPSHOT -DremoteRepositories=http://people.apache.org/maven-snapshot-repository
Ketika dijalankan saya mendapatkan error : C:\Users\Hendrik Kustanto>mvn archetype:create -DgroupId=com.fdar.apress.s2 -DartifactId=app -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.9-SNAPSHOT -DremoteRepositories=http://people.apache.org/maven-snapshot-repository [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [archetype:create] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:create] [WARNING] This goal is deprecated. Please use mvn archetype:generate instead [INFO] Defaulting package to group ID: com.fdar.apress.s2 [INFO] We are using command line specified remote repositories: http://people.ap ache.org/maven-snapshot-repository [INFO] snapshot org.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT: chec king for updates from id0 Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/strut s/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNAPS HOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested download does not exist. Unable to download the artifact from any repository [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Thu Dec 11 08:17:41 ICT 2008 [INFO] Final Memory: 8M/15M [INFO] ------------------------------------------------------------------------ Ada yang tau cara ngebenerinnya. ( maaf saya masih pemula ) Thanks Hendrik Selalu bisa chat di profil jaringan, blog, atau situs web pribadi! Yahoo! memungkinkan Anda selalu bisa chat melalui Pingbox. Coba! http://id.messenger.yahoo.com/pingbox/