Hi, Does anybody have a clue please ?
Best Regards, Julien Plaquevent [email protected] Thales Critical Information Systems 2011/11/30 Julien PLAQUEVENT <[email protected]> > Hi, > > I'm currently developping a Maven 2 multimodule archetype (Maven Archetype > Plugin 2.2) under Linux Debian Squeeze. I have two issues (text in red in > this message) I'd appreciate some help solving. > > I'd like to use a homemade property (set up as a required property from > archetype-metadata.xml) in the name of one of the modules I generate. I > can't find any clue on Google for this really specific case. Is it possible > to do so ? Do I have to declare this property somewhere else than in > my archetype-metadata.xml file ? Is there a prefix like the "root" one for > rootArtifactId (I hardly think so but... it's driving me nuts) ? > > *Works :* > - Using __rootArtifactId__ in the name of a project folder > - Using my custom property eventName in files (Velocity macros like > ${eventName}) > > *Doesn't work :* > - Using my custom property __eventName__ in the name of a project folder > > Last question : is it possible to use .toLowerCase() method in a macro > for a folder name like __eventName.toLowerCase__ ? > > Thanks, > > Best Regards, > > Julien Plaquevent > [email protected] > Thales Critical Information Services >
