MWAR-12 Vincent Massol wrote: > Hi, > > Is there a way in m2 to filter any file (not just resources)? For example in > my web.xml there are references to artifact names with version in it. I'd > like to replace the version with ${version} or something like that. > > Any idea how I could achieve this? I was thinking about filters but I don't > know if this is supported for any type of files. > > A possibility (but I find it ugly) would be to use an Ant task to copy the > web.xml file in a phase prior to the package one and then configure the war > plugin to point at the copied file. > > Thanks > -Vincent > > > > > > > ___________________________________________________________________________ > Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs > exceptionnels pour appeler la France et l'international. > Téléchargez sur http://fr.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]