You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jerarckill - ANS <je...@ans.be> on 2005/11/03 22:48:02 UTC

Archetype : Need more info on Maven WebSite

Hello,

I am trying to create an archetype to suit the needs from the project I am  
working on.
Basically, I am lacking information allowing me to take full power from  
this very good idea.

We are starting something very big at work and have defined more than 20  
projects to create... Being able to implement an "strong" archetype and  
use the most parametrization possible on it would help my team  
(30+ people) a hell lot :-)

So, after having worked with archetypes a little bit, some ideas,  
remarks,... come to my mind.  I think it is interesting for you to have  
them shared:

- The information we can get from maven WebSite is too scarce.  Having a  
"quickstart" is a good point but, when we need more information, none is  
to be found. So, would it be possible to have the XML Schema along with  
information about each tag usable in the archetype.xml file?  I think this  
is not something too difficult for you to provide... and it is very  
important for users to have.
- Can you clearly explain the limits of archetypes?  Meaning, what can I  
expect to create from them? What isn't possible?  After having tried to  
create one a little, I have the feeling that it is quite strict, in the  
way that:
   - It seems impossible to create empty directories (directory structure).
   - Is seems impossible to put files in other directories than the ones  
specified by <source>, <ressources>,.. tags.
   - It seems impossible to have filenames passed in parameter? (I would  
need to have files whose name is set to a specific parameter

I don't know if I am wrong or right.  If this information was present on  
the website, it would help us all a lot.

- Finally, a little remark: It seems that the <test-ressources> tag  
doesn't work: files defined with <ressource> tag inside it are not copied  
when I use the archetype.  I have checked spelling of the files to copy  
and of the archetype.xml files 10 times but no error seem to be there.   
Can someone just tell me if it works or if it is a bug?

Thank you very much in advance,

Jérôme
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Archetype : Need more info on Maven WebSite

Posted by Jorg Heymans <jh...@domek.be>.
Jerarckill - ANS wrote:

> - Finally, a little remark: It seems that the <test-ressources> tag 
                                                       ^^^^
> doesn't work: files defined with <ressource> tag inside it are not
                                     ^^^^
> copied  when I use the archetype.  I have checked spelling of the files
> to copy  and of the archetype.xml files 10 times but no error seem to be

Check the spelling, it's "resources" not "ressources".


Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org