Hi, I am trying to generate a small framework by using the maven command
mvn archetype:generate I am entering 19 th option, i am getting error as follows Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/str uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA PSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The desired arch etype does not exist (org.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT ) The desired archetype does not exist (org.apache.struts:struts2-archetype-starte r:2.0.9-SNAPSHOT) The desired archetype does not exist (org.apache.struts:struts2-archetype-starte r:2.0.9-SNAPSHOT) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: The desired archetype does not exist (or g.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT) struts 2.0.9 is not there in my local repository. present Struts 2 latest GA version is 2.1.6. So it should download that one from net. But its trying to download 2.0.9. ANd my internet connection is up. If I dont understand maven please exceuse me. I am new to maven. Thanks and Regards Ratna -- View this message in context: http://www.nabble.com/error-in-mvn-archetype%3Agenerate-tp22247272p22247272.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
