Hi Markku,

Is it possible somehow to rename files witch locates under archetype-resources in you custom archetype?

What i want to do is rename baseMagicDraw11.5model.xml file to $ {artifactId}.xml file when performing create goal.

By using the antrun.plugin this should be quite easy:

http://maven.apache.org/plugins/maven-antrun-plugin/

...
<configuration>
  <tasks>
<move file="baseMagicDraw11.5model.xml" tofile="$ {project.artifactId}.xml" />
  </tasks>
</configuration>


HTH

Thorsten

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to