I´m creating a multi-project archetype.
When I run the command above, the readme.txt file is not copied to generated
project root, but only main pom.xml. I tried to copy others files to root dir,
but they are not copied. What´s is wrong with the fileSet?
mvn archetype:generate
-DarchetypeGroupId=org.persapiens.basegen-DarchetypeArtifactId=maven-basegenapp-plugin-DarchetypeVersion=1.0-SNAPSHOT
The archetype-metadata.xml file:
<archetype-descriptor name="maven-basegenapp-plugin">
<fileSets>
<fileSet filtered="true" packaged="false">
<directory>.</directory>
<includes>
<include>readme.txt</include>
</includes>
</fileSet>
<fileSet filtered="true" packaged="false">
<directory>src</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/*.xml.zip</exclude>
</excludes>
</fileSet>
<fileSet filtered="false" packaged="false">
<directory>src</directory>
<includes>
<include>**/*.xml.zip</include>
</includes>
</fileSet>
</fileSets>
<modules>
<module name="Business Bean" dir="business-bean">
<fileSets>
<fileSet filtered="true" packaged="false">
<directory>src</directory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
</fileSets>
</module>
</modules>
<requiredProperties>
<requiredProperty key="copyright"/>
</requiredProperties>
</archetype-descriptor>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]