Right, and the rest of your build needs to know that version as well,
right? Put that version in a property and use it in the dependency as
well as resource filtering, i.e.
        <properties>
                <cssversion>2</cssversion>
        </properties>

Kalle


On Tue, Jan 4, 2011 at 11:30 AM, juranta <juha.ra...@iki.fi> wrote:
>
> Yes, but my problem is that I need to use the version of one particular
> dependency while doing the filtering.
>
> Thanks,
>
> Juha
>
>> Assembly plugin can do resource filtering, see
>> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-
>> files.html.
>
>>Kalle
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Accessing-the-version-of-a-dependency-tp3327490p3327642.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to