You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Hoffer <dh...@gmail.com> on 2011/08/04 16:17:34 UTC
Filtering using properties in jar?
I have some properties I'd like to use in multiple projects for
filtering, how can I specify that the xxx.properties file I want to
use is in a jar? Typically I do the following when filtering but that
assumes I have that file locally, how can I do this if the file is in
a jar/zip? I know I could unpack the jar locally but I'm hoping there
is a more elegant solution.
<filters>
<filter> [a filter property file] </filter>
</filters>
-Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Filtering using properties in jar?
Posted by Olivier Lamy <ol...@apache.org>.
Hello,
Remote Resources Plugin [1] will be probably your friend
HTH,
--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
[1] http://maven.apache.org/plugins/maven-remote-resources-plugin/
2011/8/4 David Hoffer <dh...@gmail.com>:
> I have some properties I'd like to use in multiple projects for
> filtering, how can I specify that the xxx.properties file I want to
> use is in a jar? Typically I do the following when filtering but that
> assumes I have that file locally, how can I do this if the file is in
> a jar/zip? I know I could unpack the jar locally but I'm hoping there
> is a more elegant solution.
>
> <filters>
> <filter> [a filter property file] </filter>
> </filters>
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org