Hi,

I think you just have to place your file was.policy in tre directory 
src/main/resources/META-INF.

Yan.



----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 12 Août 2008, 9h41mn 31s
Objet : Putting file in META-INF in EAR

We want to create an EAR file and add some files to the META-INF directory.  
I've done some research on the internet, but without any luck so far.  I've 
added this to my POM-file:

<build>
    <resources>
        <resource>
            <directory>${basedir}/src/main/security</directory>
            <targetPath>META-INF</targetPath>
            <includes>
                <include>was.policy</include>
            </includes>
        </resource
    </resource>
</build>

But that doesn't work.  Anyone else has an idea on how to do this?  We use the 
maven-ear-plugin to create the EAR-file, but I haven't found anything in the 
documentation regarding this problem.



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.



      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

Reply via email to