I want to deploy some files to repository without modifying filename when deploying
jar. for example, there is file to deploy in my project like this:
src/tld/mytag.tld
and, I want to deploy to my repository like this:
mygroup/tlds/mytag.tld
so, I tried to use maven.xml like this:
<postGoal name="jar:deploy">
<artifact:deploy artifact="src/tld/mytag.tld" type="tld" project="${pom}"/>
</postGoal>
but, failed. mytag.tld copied to:
mygroup/tlds/myproject-1.0.tld
this is not what I wanted. and found no other way. how can I do that? if there is no
way to do that, I think artifact plugin must be extended to support that.