Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A5F4B1F2 for ; Wed, 4 Jan 2012 12:48:01 +0000 (UTC) Received: (qmail 88381 invoked by uid 500); 4 Jan 2012 12:48:00 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 88124 invoked by uid 500); 4 Jan 2012 12:47:54 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 88116 invoked by uid 99); 4 Jan 2012 12:47:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 12:47:53 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lukasz.lenart@googlemail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-tul01m020-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 12:47:46 +0000 Received: by obcwn14 with SMTP id wn14so19191651obc.35 for ; Wed, 04 Jan 2012 04:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=3JaW6fmcCLuPd0VBoho0tOf2pHMSUUdASLxgw7SPJuA=; b=SMpVHr1GcDsQPTn73+Y3qZ2p6g8PqaulQyLc9+i+5FCIOn6m1ONVimC+b1XRIZKxcI 8lMZtkfpQSwMZ7oGIwpwRzGk/g9aSh0k/yAZoQT89iEOcMv6nFO5Zu8xCyNE/cNzR6S6 xtwRLXrIZBZq/yRdYCOOVEq1Nnkf7qzipJR/o= MIME-Version: 1.0 Received: by 10.50.170.35 with SMTP id aj3mr67645356igc.2.1325681245164; Wed, 04 Jan 2012 04:47:25 -0800 (PST) Received: by 10.42.3.1 with HTTP; Wed, 4 Jan 2012 04:47:25 -0800 (PST) Reply-To: lukasz.lenart@gmail.com In-Reply-To: <1325680590452-5119466.post@n5.nabble.com> References: <1325680590452-5119466.post@n5.nabble.com> Date: Wed, 4 Jan 2012 13:47:25 +0100 Message-ID: Subject: Re: Create struts2 portlet webapp from archetype From: =?UTF-8?Q?=C5=81ukasz_Lenart?= To: Struts Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It's ok, the repo [1] has changed :/ I'll update the archetype-catalog.xml in few minutes [1] http://repo1.maven.org/maven2/ Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2012/1/4 Johannes Geppert : > I like to update the existing Struts2 Portlet Tutorial. > https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial > > But I run into Failure when executing following maven command to create t= he > Webapp from archetype. > > /mvn archetype:generate -DarchetypeGroupId=3Dorg.apache.struts > -DarchetypeArtifactId=3Dstruts2-archetype-portlet -DarchetypeVersion=3D2.= 3.1.1 > -DartifactId=3Dbookmark-portlet -DarchetypeCatalog=3Dhttp://struts.apache= .org/ > > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Stub Project (No POM) 1 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ > standalone-pom >>> > [INFO] > [INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ > standalone-pom <<< > [INFO] > [INFO] --- maven-archetype-plugin:2.0:generate (default-cli) @ > standalone-pom --- > [INFO] Generating project in Interactive mode > [INFO] Archetype repository missing. Using the one from > [org.apache.struts:struts2-archetype-portlet:2.3.1 -> > http://repo1.maven.org/maven2/] found in catalog http://struts.apache.org= / > Downloading: > http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-portlet= /2.3.1/struts2-archetype-portlet-2.3.1.jar > Downloaded: > http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-portlet= /2.3.1/struts2-archetype-portlet-2.3.1.jar > (8 KB at 15.6 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-portlet= /2.3.1/struts2-archetype-portlet-2.3.1.pom > Downloaded: > http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-portlet= /2.3.1/struts2-archetype-portlet-2.3.1.pom > (3 KB at 5.0 KB/sec) > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4.032s > [INFO] Finished at: Wed Jan 04 13:26:49 CET 2012 > [INFO] Final Memory: 6M/61M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:2.0:generate (default-cli= ) > on project standalone-pom: The defined artifact is not an archetype -> [H= elp > 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, ple= ase > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException/ > > Is my maven comand wrong? Any Suggestions? > > Johannes > > > ----- > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > -- > View this message in context: http://struts.1045723.n5.nabble.com/Create-= struts2-portlet-webapp-from-archetype-tp5119466p5119466.html > Sent from the Struts - Dev mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org