From dev-return-103813-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Tue Jul 10 14:40:40 2012 Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-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 305C8CEC8 for ; Tue, 10 Jul 2012 14:40:40 +0000 (UTC) Received: (qmail 40623 invoked by uid 500); 10 Jul 2012 14:40:38 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 40389 invoked by uid 500); 10 Jul 2012 14:40:37 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 39959 invoked by uid 99); 10 Jul 2012 14:40:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 14:40:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 10D8814285A for ; Tue, 10 Jul 2012 14:40:35 +0000 (UTC) Date: Tue, 10 Jul 2012 14:40:35 +0000 (UTC) From: =?utf-8?Q?Francesco_Chicchiricc=C3=B2_=28JIRA=29?= To: dev@cocoon.apache.org Message-ID: <1237678559.28448.1341931235071.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (COCOON-2252) when using the maven archetype to build a block (plain), the pom generated is invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COCOON-2252?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiricc=C3=B2 closed COCOON-2252. ------------------------------------------ Resolution: Cannot Reproduce =20 > when using the maven archetype to build a block (plain), the pom generate= d is invalid > -------------------------------------------------------------------------= ------------ > > Key: COCOON-2252 > URL: https://issues.apache.org/jira/browse/COCOON-2252 > Project: Cocoon > Issue Type: Bug > Components: - Build System: Maven > Affects Versions: 2.2 > Reporter: Robby Pelssers > Assignee: Francesco Chicchiricc=C3=B2 > Fix For: 2.2 > > > When using the maven archetype to build a cocoon block, the pom does not = get generated properly. > $ mvn archetype:generate -DarchetypeCatalog=3Dhttp://cocoon.apache.org > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking= for updates from central > [INFO] ------------------------------------------------------------------= ------ > [INFO] Building Maven Default Project > [INFO] task-segment: [archetype:generate] (aggregator-style) > [INFO] ------------------------------------------------------------------= ------ > [INFO] Preparing archetype:generate > [INFO] No goals needed for project - skipping > [INFO] Setting property: classpath.resource.loader.class =3D> 'org.codeha= us.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on =3D> 'false'. > [INFO] Setting property: resource.loader =3D> 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound =3D> 'false'. > [INFO] [archetype:generate] > [INFO] Generating project in Interactive mode > [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache= .maven.archetypes:maven-archetype-quickstart:1.0) > Choose archetype: > 1: http://cocoon.apache.org -> cocoon-22-archetype-block-plain (Creates a= n empty Cocoon block; useful if you want to add another block to a Cocoon a= pplication) > 2: http://cocoon.apache.org -> cocoon-22-archetype-block (Creates a Cocoo= n block containing some small samples) > 3: http://cocoon.apache.org -> cocoon-22-archetype-webapp (Creates a web = application configured to host Cocoon blocks. Just add the block dependenci= es) > Choose a number: (1/2/3): 1 > Define value for groupId: : com.ciber > Define value for artifactId: : demo > Define value for version: 1.0-SNAPSHOT: : 1.0.0 > Define value for package: com.ciber: : com.ciber.demo > Confirm properties configuration: > groupId: com.ciber > artifactId: demo > version: 1.0.0 > package: com.ciber.demo > Y: : y > [INFO] ------------------------------------------------------------------= ---------- > [INFO] Using following parameters for creating OldArchetype: cocoon-22-ar= chetype-block-plain:1.0.0 > [INFO] ------------------------------------------------------------------= ---------- > [INFO] Parameter: groupId, Value: com.ciber > [INFO] Parameter: packageName, Value: com.ciber.demo > [INFO] Parameter: basedir, Value: d:\development\workspaces > [INFO] Parameter: package, Value: com.ciber.demo > [INFO] Parameter: version, Value: 1.0.0 > [INFO] Parameter: artifactId, Value: demo > [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refer= ence : template =3D archetype-resources/pom.xml [line 20,column 6] : $Id is= not a valid reference. > [INFO] ********************* End of debug info from resources from genera= ted POM *********************** > [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refer= ence : template =3D archetype-resources/src/main/resources/META-INF/cocoon/= spring/block-servlet-se > mn 6] : $Id is not a valid reference. > [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refer= ence : template =3D archetype-resources/src/main/resources/META-INF/cocoon/= spring/block-applicatio > column 6] : $Id is not a valid reference. > [INFO] OldArchetype created in dir: d:\development\workspaces\demo > [INFO] ------------------------------------------------------------------= ------ > [INFO] BUILD SUCCESSFUL > [INFO] ------------------------------------------------------------------= ------ > [INFO] Total time: 48 seconds > [INFO] Finished at: Wed Feb 25 22:36:35 CET 2009 > [INFO] Final Memory: 8M/14M > [INFO] ------------------------------------------------------------------= ------ > Results in following invalid pom snippet: > > 4.0.0 > jar > > com.ciber > [parent-archetype-id] > [parent-version] > > demo > demo > 1.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira