I'm trying to create a relatively simple archetype for creating JAXWS
webservice projects.  I'd like to make them boilerplate for our uses.
I'm trying to create the archtype incrmentally to verify that it's
working.  Well...it's partially working.
 
I have two issues:
 
1.  The resource files are not appearing. (The two xml files)
2.  I would like to add a webservice-build.xml file to the top of the
project to allow generation of webservice artifacts.  How do I designate
that as the delivery directory?
 
The archetype.xml file is listed below.  
 
Yes I have spent hours looking for a solution, resonable example, etc.
Using maven 2 I haven't found one that works correctly for a fairly
common need.
 
Thanks for any hlpe you can give me!!!
 
Steve Keener
 
------------------------------------------------------------------------
-------------------
<archetype>

    <id>WebServiceArchetype</id>

    <sources>

        <source>src/main/java/placeholder.txt</source>

        <source>src/main/java/gensrc/placeholder.txt</source>

    </sources>

    <resources>

        <resource>src/main/webapp/WEB-INF/sun-jaxws.xml</resource>

        <resource>src/main/webapp/WEB-INF/web.xml</resource>

    </resources>

    <testSources>

        <source>src/test/java/placeholder.txt</source>

    </testSources>

    <testResources>

        <resource>src/test/resources/placeholder.txt</resource>

    </testResources>

<allowPartial>true</allowPartial>

</archetype>

Reply via email to