You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Roland Weber <os...@dubioso.net> on 2007/07/09 14:20:39 UTC
[HttpClient] Maven resource processing
Hi Oleg,
it looks like the pom.xml for module-client does not what
it's supposed to do. The resource processing does not pick
up any files for me:
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
I think the following should do the trick:
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>META-INF/*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
Could you please verify?
thanks,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
Re: [HttpClient] Maven resource processing
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2007-07-09 at 14:20 +0200, Roland Weber wrote:
> Hi Oleg,
>
> it looks like the pom.xml for module-client does not what
> it's supposed to do. The resource processing does not pick
> up any files for me:
>
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <filtering>true</filtering>
> <includes>
> <include>*.properties</include>
> </includes>
> </resource>
> </resources>
>
Yep, it is broken. Well spotted.
> I think the following should do the trick:
>
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <filtering>false</filtering>
> <includes>
> <include>META-INF/*</include>
> </includes>
> </resource>
> <resource>
> <directory>src/main/resources</directory>
> <filtering>true</filtering>
> <includes>
> <include>**/*.properties</include>
> </includes>
> </resource>
> </resources>
>
> Could you please verify?
>
Look good to me.
Oleg
> thanks,
> Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org