Nina Jeliazkova wrote: > Dear All, > > I would like to ask if it is possible to define dependencies in Maven2 > POM file to reflect the JRE version. For example, I would like to use > commons-dbcp-1.3 in JRE 1.5 and commons-dbcp-1.4 in JRE 1.6. > > Defining the corresponding profiles doesn't work - I am most probably > missing something.
Yes you put the property into the activation section. However, that is used to activate a profile by system property, not to define one. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
