From issues-return-14647-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Sat Mar 20 22:24:51 2010 Return-Path: Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: (qmail 93880 invoked from network); 20 Mar 2010 22:24:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Mar 2010 22:24:51 -0000 Received: (qmail 1791 invoked by uid 500); 20 Mar 2010 22:24:51 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 1755 invoked by uid 500); 20 Mar 2010 22:24:51 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 1748 invoked by uid 99); 20 Mar 2010 22:24:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 22:24:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Mar 2010 22:24:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 538C9234C1EF for ; Sat, 20 Mar 2010 22:24:27 +0000 (UTC) Message-ID: <1765403489.388641269123867341.JavaMail.jira@brutus.apache.org> Date: Sat, 20 Mar 2010 22:24:27 +0000 (UTC) From: "Oleg Mikheev (JIRA)" To: issues@struts.apache.org Subject: [jira] Commented: (WW-3366) Documentarion error for maven archetype in 2.1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WW-3366?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1284784= 0#action_12847840 ]=20 Oleg Mikheev commented on WW-3366: ---------------------------------- Change the documentation at least > Documentarion error for maven archetype in 2.1.8.1 > -------------------------------------------------- > > Key: WW-3366 > URL: https://issues.apache.org/jira/browse/WW-3366 > Project: Struts 2 > Issue Type: Bug > Components: Documentation > Affects Versions: 2.1.8 > Environment: Apache Maven 2.2.1 (rdebian-1) > Java version: 1.6.0_16 > Java home: /usr/lib/jvm/java-6-sun-1.6.0.16/jre > Default locale: es_ES, platform encoding: UTF-8 > OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" > Reporter: Antonio S=C3=A1nchez > > Documentation page: > http://struts.apache.org/2.x/docs/struts-2-maven-archetypes.html#Struts2M= avenArchetypes-CreatinganApplicationUsingaMavenArchetype > States: > mvn archetype:generate -B \ > -DgroupId=3Dtutorial \ > -DartifactId=3Dtutorial \ > -DarchetypeGroupId=3Dorg.apache.struts \ > -DarchetypeArtifactId=3Dstruts2-archetype-blank \ > -DarchetypeVersion=3D2.1.8.1 > But fails: > ... > [WARNING] No archetype repository found. Falling back to central reposito= ry (http://repo1.maven.org/maven2).=20 > [WARNING] Use -DarchetypeRepository=3D if archetype's re= pository is elsewhere. > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/2.1.8.1/struts2-archetype-blank-2.1.8.1.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:2.1.8.1' in repository struts2-archetype-blank-repo (http://repo1.mave= n.org/maven2) > Downloading: http://repo1.maven.org/maven2/org/apache/struts/struts2-arch= etype-blank/2.1.8.1/struts2-archetype-blank-2.1.8.1.jar > [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank= :jar:2.1.8.1' in repository central (http://repo1.maven.org/maven2) > [INFO] ------------------------------------------------------------------= ------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] The desired archetype does not exist (org.apache.struts:struts2-ar= chetype-blank:2.1.8.1) > ... > Related to bug: WW-3141 > My comments: > 1. Include maven archetypes for the corresponding version in each struts2= release, I mean, maven stuff should be in the release checklist: do not re= lease until the corresponding maven stuff is developed, tested and uploaded= to maven repositories. > 2, Anyway, if it is valid to use a different archetype , state i= t as part of the documentation. For instance, state tha version "-Darchetyp= eVersion=3D2.0.11.2" (or whatever) will also work for 2.1.8.1 (or whatever)= . This is useful to developers not familiar to maven. > Maven archetypes usage should be devoted more attention, they can be very= useful specially if we bear in mind that struts2 ide plugins are not suppo= rted in struts2 project (but maybe I'm wrong). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.