Hey Guys, I'm throwing together some archetypes for a project and according to the documentation all archetype directories must contain a source file....i.e. empty directories cannot be created.
It would make my life slighly easier if the archetype plugin could generate archetypes with empty directories. For instance some of the archetypes are for code generation using jet templates, however the eclipse builder throws exceptions when no directories exist to generate code into. So either I put something like dummy.java in the src/main/java directory, I create the directory manually, I talk to the eclipse developers to see if the jet builder can create the source directory if it is not availble, or I just recode the archetype mojo (because I know more about mojo's than the jet builder). The last option is the most attractive, but first I wanted to check if anyone is already in the middle of this and if not, is this something that might be considered a useful update? Maven is very "Do it right as it becomes an obvious need ish".... which is very cool and makes a lot of sense. So since the eclipse jet builder is the component that needs the directory, it would make sense for it to create it if it's not available. On the other hand, maven archetypes are so easy to make that being able to create empty directories ready for use would make for the quickest solution in code generation cases. So I'm really just trying to gage how the maven developer community feels about empty directories. Is there a concern that people might go crazy and create lots of empty directories that make an archetype instance more tricky to understand, or is it really not a big deal and we have just not gotten around to allowing empty directories in archetype instances yet? Cheers, - Ole __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]