maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Excluding a file in resources when compiling
Date Thu, 04 Sep 2008 14:03:36 GMT
Geoffrey Wiseman a écrit :
> On Thu, Sep 4, 2008 at 9:07 AM, Marc Schneider
> <>wrote:
>> I have this file : src/main/resources/faces-config.xml
>> After mvn clean compile this file is put at the root of the classes
>> directory.
>> But I don't want that, so I tried :
> Can I ask what you do want to do with it, if not put it in the class root?
>  That's normally what Maven would do with a "main resource" which is mostly
> what I would want to do with things like configuration files, but since you
> don't want that, I'm wondering what you do want.
>  - Geoffrey

In fact this file is put during a further phase in the WEB-INF directory
because lines are added to this file.
So I just don't want to have this file twice (in classes and WEB-INF)
knowing that WEB-INF is the right place (avoids confusion).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message