Re: Maven archetypes and Velocity

2009-11-09 Thread Gajo Csaba
Looks like I'm doing something very wrong, cause I followed that tutorial and it still won't work. In class com.cosylab.App.java I defined this: String name = ${xxx}; note that I've also tried doing it like this: String name = $xxx; So it's just a simple project. I've created an archetype.pro

Re: Maven archetypes and Velocity

2009-11-09 Thread Adam Leggett (UPCO)
I think to define custom filtered properties you need to create an archetype.properties file: http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html Thanks, Adam On Mon, 2009-11-09 at 14:21 +0100, Gajo Csaba wrote: > Hello, > > I have a very simple quest

Maven archetypes and Velocity

2009-11-09 Thread Gajo Csaba
Hello, I have a very simple question regarding archetypes. I've created my own basic archetype, and in archetype-resources/src/main/java/App.java I wrote the following: package $xxx Installed the archetype, created a new project with it and also added the -Dxxx=abc parameter... and it remai