Hi
Did you try this variant?
<module id="${artifactId}-Client" dir="${artifactId}Client"
name="${artifactId}-Client">
On 2011-10-03 17:59, Nalini Chavala wrote:
>
> Hi,
>
> I am trying to create a maven archetype and followed the link
>
> http://maven.apache.org/archetype/maven-archetype-plugin/
>
> http://code.google.com/p/jianwikis/wiki/HowToCreateMavenArchetypeFromProject
>
>
> I was able to create an archetype with default structure but I like to create
> a template with the artifact Id.
> Eg:
> Templeate-java
> Templeate-ejb
>
>
> I need to have a template with like
>
> Eg:
> Artificatid-java
> Artifactid-ejb
>
>
> I have specified the archetype-metadata.xml with "__artifactId__Client"
>
> <archetype-descriptor name="was61-archetype">
> <modules>
> <module id="${artifactId}-Client" dir="__artifactId__Client"
> name="${artifactId}-Client">
> <fileSets>
> <fileSet filtered="true" encoding="UTF-8">
> <directory>src/main/java/sf/iasc</directory>
> <includes>
> <include>**/*.java</include>
> <include>**/*.xml</include>
> </includes>
> </fileSet>
> <fileSet filtered="true" encoding="UTF-8">
> <directory>src/test/java</directory>
> <includes>
> <include>**/*.xml</include>
> <include>**/*.java</include>
> </includes>
> </fileSet>
> </fileSets>
> </module>
> </modules>
> </module>
> </modules>
> </archetype-descriptor>
>
>
> Please let me know how to resolve the issue.
>
> Thanks
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]