cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: svn commit: r472413 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml
Date Wed, 08 Nov 2006 09:33:12 GMT
Leszek Gawron wrote:
> Giacomo Pati wrote:
>> I've checked it. The generated pom look as expected.
> 
>> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template
= archetype-resources/pom.xml [line 21,column 16] : $Id is not a valid reference.
>> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template
= archetype-resources/pom.xml [line 72,column 34] : ${pom.artifactId} is not a valid reference.
>> [INFO] ********************* End of debug info from resources from generated POM
***********************
>> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template
= archetype-resources/src/main/resources/COB-INF/demo.js [line 18,column 13] : $Id is not
a valid reference.

The above warning is correct as the archetype doesn't have a reference to 
pom.artifactId. You have to differentiate between the generation step and builds 
that are performed _after_ the project has been created. For those the 
${pom.artifactId} expression does work.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------




	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

Mime
View raw message