Re: Question about maven archetype: how to convert ${artifactId} into a file system path?

2011-06-27 Thread goutham vasireddi
Hi I don't know this helps you are not but if you want to create a file system path with a parameter. You can set packaged="true" in fileset tag , then all the defined files in filetag will be created in a file system path as given to ${package}. example: ${package}=my.nice.little.project ///

Re: Question about maven archetype: how to convert ${artifactId} into a file system path?

2011-06-26 Thread Unico Homme
As far as I know this is not possible. Velocity is not powerful enough to do string manipulation, it's only a templating language. Actually I am running into the same limitation. For this to work you would need to put a custom object into the Velocity context that parses the artifactId property a

Question about maven archetype: how to convert ${artifactId} into a file system path?

2011-06-25 Thread Christian Schuhegger
Hello list, I am writing a maven archetype and it would be useful to convert an ${artifactId} (e.g. my.nice.little.project) into a path: my/nice/little/project. If this is possible, could somebody please point me to the relevant documentation? I did not find it via google. Many thanks, --