Ok, that's not how it works. The values of the variables are used during
runtime, that's it. They are not replaced in the actual pom file.

/Anders

On Mon, Aug 17, 2009 at 12:12, Ulath <[email protected]> wrote:

>
> i mean; i expect variables are replaces with the defined values;
>
> <dependency>
>  <groupId>org.hibernate</groupId>
>  <artifactId>hibernate-validator</artifactId>
>  <version>${hibernate-validator.version}</version>
> </dependency>
>
> replaced by; [in the installed pom file]
>
> <dependency>
>  <groupId>org.hibernate</groupId>
>  <artifactId>hibernate-validator</artifactId>
>  <version>3.1.1</version>
> </dependency>
>
> regards ...
>
>
> Anders Hammar wrote:
> >
> > How do you mean; do you expect the pom file to be updated (re-written) so
> > that the variables are replace by the values defined? Or do you get some
> > kind of error because the value of the property isn't found?
> >
> > /Anders
> >
> > On Mon, Aug 17, 2009 at 11:09, Ulath <[email protected]> wrote:
> >
> >>
> >> i have a pom.xml in which versions of the depencies are defined as
> >> properties
> >> like ${hibernate-version} etc.
> >>
> >> when i run mvn install i expect variables are replaced by actual values
> >> bu
> >> they aren't ...
> >>
> >> any suggestions?
> >>
> >> best regards ...
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/variables-aren%27t-replaced-into-the-installed-pom-tp25003490p25003490.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/variables-aren%27t-replaced-into-the-installed-pom-tp25003490p25004235.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to