Dependency version properties defined in settings.xml are not being resolved, Maven 2.2.1

2011-09-30 Thread Aspi_Engineer
Using Maven 2.2.1 I have defined a profile in my settings.xml file, and specified some properties. This profile is also listed as an active profile. For example: profile idthird-party-lib-versions/id properties

Re: Dependency version properties defined in settings.xml are not being resolved, Maven 2.2.1

2011-09-30 Thread Anders Hammar
You should always ensure that you have a default value for properties set by profiles. Most likely you're running into some scenario where the profile just isn't active. So, in your pom you should define the property as well. May I also add that what you're trying to do is not good. IMHO you