Standard maven behaviour, when you change the resources, then you have to add the maven default path manually or it will not be included.

Kind regards,
Joachim

Marcelo Lotif wrote:
Hi all,
I was trying to add some files to META-INF folder putting this code into my
pom.xml:

<build>
<resources>
     <resource>
            <targetPath>META-INF</targetPath>
            <directory>src/main/java/META-INF</directory>
      </resource>
</resources>
...
</build>

To deploy it to tomcat, I'm generating a .war file using the "mvn package"
command. Ok, this will add the files into the META-INF folder, but i also
noticed that this way the .tml files are not added to the jar file!

This is a bug? Should i fire a JIRA?

Regards,
Marcelo Lotif



--
Joachim Van der Auwera
PROGS bvba, progs.be


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to