Hi Thiago: For starters let me take a guess and say that the liferay archetypes will soon have a new addition? Secondly, I am no archetype expert but I'm guessing by the docs at guide-creating-archetypes<http://maven.apache.org/guides/mini/guide-creating-archetypes.html> you could simply add the desired extension following the artifactId property in the prototype POM. For example: <artifactId>${artifactId}-hook</artifactId>
This would have the drawback of users who actually follow the required naming convention of hooks ending up with an artifactId of my-artifact-hook-hook. Of course users who encounter the aforementioned drawback would likely regenerate without the convention and end up with a nicely named artifact. I have not tried this but it may be an option for you. -Ryan On Tue, Dec 7, 2010 at 6:35 PM, Thiago Moreira (timba) < tmoreira2...@gmail.com> wrote: > Hi there! > > I'm building an archetype and one thing that I need to take in account > when creating an instance of the archetype is the directory's name > generated. This is important because the artifact generated will be used in > another system that the name is important. Is there way to force the > articfactId to be a format like my-articfact*-hook*? The bold part is that > is important for me. > > Thanks in advance > > Thiago Moreira > -- �...@n