Hi,
What about a configuration parameter in the mojo (maven-resources-plugin) like :

 <filteringIgnoreExtensions>jpg,jpeg,pdf</filteringIgnoreExtensions>

Currently adding this in the resource configuration in the pom needs
some core changes.

Remy, I'm sure you can load an issue in MWAR concerning overlays ;-).

Thanks,

--
Olivier

2008/2/13, Stuart McCulloch <[EMAIL PROTECTED]>:
> On 13/02/2008, John Coleman <[EMAIL PROTECTED]> wrote:
> >
> > Oh that's a shame.
> >
> > I'm keen to put a change into the resource plugin so that it can
> > optionally try and only filter text files.
> >
> > I have an idea to do this, how can I contribute to the project?
>
>
> raise an issue at jira.codehaus.org/browse/MRESOURCES and attach a patch
>
> ( you could try taking some bytes from the file, turn them into a string and
> see
>   if getBytes() matches the original bytes - but I don't know if that's
> foolproof... )
>
> Regards,
> > John
> >
> >
> > > -----Original Message-----
> > > From: Rémy Sanlaville [mailto:[EMAIL PROTECTED]
> > > Sent: 13 February 2008 14:10
> > > To: Maven Users List
> > > Subject: Re: damage image files
> > >
> > > Your solution seems to be good.
> > > But with war overlays mechanism (cf [1] and [2]) it's not
> > > possible to specify the path of the directory resources
> > > because it is generated at runtime.
> > >
> > > I don't know for the moment how to solve this case.
> > >
> > > Rémy
> > >
> > > 1.
> > > http://maven.apache.org/plugins/maven-war-plugin/examples/war-
> > > overlay.html
> > > 2. http://jira.codehaus.org/browse/MWAR-143
> > >
> >
> > Eurobase International Limited and its subsidiaries (Eurobase) are unable
> > to exercise control over the content of information in E-Mails. Any views
> > and opinions expressed may be personal to the sender and are not necessarily
> > those of Eurobase. Eurobase will not enter into any contractual obligations
> > in respect of any part of its business in any E-mail.
> >
> > Privileged / confidential information may be contained in this message and
> > /or any attachments. This E-mail is intended for the use of the addressee(s)
> > only and may contain confidential information. If you are not the / an
> > intended recipient, you are hereby notified that any use or dissemination of
> > this communication is strictly prohibited.  If you receive this transmission
> > in error, please notify us immediately, and then delete this E-mail.
> >
> > Neither the sender nor Eurobase accepts any liability whatsoever for any
> > defects of any kind either in or arising from this E-mail transmission.
> > E-Mail transmission cannot be guaranteed to be secure or error-free, as
> > messages can be intercepted, lost, corrupted, destroyed, contain viruses, or
> > arrive late or incomplete. Eurobase does not accept any responsibility for
> > viruses and it is your responsibility to scan any attachments.
> >
> > Eurobase Systems Limited is the main trading company in the Eurobase
> > International Group; registered in England and Wales as company number
> > 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex
> > CM2 0RE, UK.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Cheers, Stuart
>

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

Reply via email to