Gregory, 

Thanks for the reply. The thing I don't want in my directory structure is
main/java/...

I just want it to be src/com/mycompany/project/dao...

It seems that if you use Mavens conventions, things are pretty straight
forward, but as soon as you try to create your own conventions, things get
pretty convoluted...  Maybe its just my inexperience with the tool.

Best Regards, 

MG


On 9/5/07 5:27 PM, "Gregory Kick" <[EMAIL PROTECTED]> wrote:

> I'd previously gotten this sort of thing to work by setting up the
> archetype to look like:
> .../archetype-resources/src/main/java/sub
> 
> In your case sub would be dao, model, etc.  I'd had some problems with
> early versions of the archetype plugin, but as long as you're using
> 1.0-alpha-4 or later, it should work.
> 
> Finally, I've heard great things about how the new version of the
> archetype plugin is shaping up.  So, it might be worth investigating
> because the setup effort is supposed to be greatly reduced.
> 
> On 9/5/07, Michael Griffith <[EMAIL PROTECTED]> wrote:
>> I wish to create my own archetype for Maven2, admittedly I am a nOOb, and
>> this seems way more difficult than it should be.
>> 
>> I want my directory structure to be:
>> 
>> src--
>>     com.mycompany.project.dao
>>     com.mycompany.project.dao.hibernate
>>     com.mycompany.project.model
>>     com.mycompany.project.service
>>     com.mycompany.project.service.impl
>>     com.mycompany.project.util
>>     com.mycompany.project.web
>> 
>> test--
>>     com.mycompany.project.dao
>>     com.mycompany.project.dao.hibernate
>>     com.mycompany.project.model
>>     com.mycompany.project.service
>>     com.mycompany.project.service.impl
>>     com.mycompany.project.util
>>     com.mycompany.project.web
>> 
>> I've read the web examples on the Maven2 site, and downloaded the Maven 2
>> book, but it still is not clear to me how to set this up.  I can't seem to
>> get my archetype template correct. Any shove in the right direction would be
>> much appreciated!
>> 
>> Thanks in advance...
>> 
>> Best Regards,
>> 
>> MG
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 

-- 
Michael Griffith
Managing Partner, OpenPrinciple Consulting, LLC.
http://www.openprinciple.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to