Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 72A64200BB3 for ; Wed, 2 Nov 2016 08:13:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 715FE160AEA; Wed, 2 Nov 2016 07:13:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B25D7160B0A for ; Wed, 2 Nov 2016 08:13:00 +0100 (CET) Received: (qmail 89658 invoked by uid 500); 2 Nov 2016 07:12:59 -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 89647 invoked by uid 99); 2 Nov 2016 07:12:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 07:12:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7E4BB2C1F56 for ; Wed, 2 Nov 2016 07:12:59 +0000 (UTC) Date: Wed, 2 Nov 2016 07:12:59 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4708) struts2-archetype-blank not found for struts v2.5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 07:13:01 -0000 [ https://issues.apache.org/jira/browse/WW-4708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4708: ------------------------------ Fix Version/s: 2.5.6 > struts2-archetype-blank not found for struts v2.5.5 > ---------------------------------------------------- > > Key: WW-4708 > URL: https://issues.apache.org/jira/browse/WW-4708 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.5.5 > Reporter: Jim deVos > Fix For: 2.5.6 > > > Following the steps in the [developer guide|https://struts.apache.org/docs/struts-2-maven-archetypes.html], I tried to generate the "blank" sample app using the archetype catalog, but I receive an error when choosing any of the options. > For example, when I run the following command: > {code} > mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ > {code} > I get a list of archetypes, as expected. > {quote} > Choose archetype: > 1: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-blank (Struts 2 Archetypes - Blank) > 2: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-convention (Struts 2 Archetypes - Blank Convention) > 3: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-dbportlet (Struts 2 Archetypes - Database Portlet) > 4: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-plugin (Struts 2 Archetypes - Plugin) > 5: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-portlet (Struts 2 Archetypes - Portlet) > 6: http://struts.apache.org/ -> org.apache.struts:struts2-archetype-starter (Struts 2 Archetypes - Starter) > Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : > {quote} > However, when choosing any of the options (e.g. the "blank" webapp), I get the following response: > {code} > Downloading: https://repository.apache.org/content/groups/public/org/apache/struts/struts2-archetype-blank/2.5.5/struts2-archetype-blank-2.5.5.jar > Downloading: https://repo.maven.apache.org/maven2/org/apache/struts/struts2-archetype-blank/2.5.5/struts2-archetype-blank-2.5.5.jar > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 29.977 s > [INFO] Finished at: 2016-11-01T14:22:59-07:00 > [INFO] Final Memory: 17M/305M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache.struts:struts2-archetype-blank:2.5.5) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > {code} > The archtype:generate goal does work when I specify v2.5.1 instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)