Hi I have a problem with populating properties wich are set in my settings.xml in my home directory.
So i have a parent pom, a child pom and the properties that look like: settings.xml <properties> <artifact-version>7.1</artifact-version> </properties> parent pom. <dependency> <groupId>id.group</groupId> <artifactId>artifactName</artifactId> <version>${artifact-version}</version> </dependency> child pom <parent> <groupId>id.someOtherGroup</groupId> <artifactId>parentpom</artifactId> <version>1</version> </parent> So if i try to build the child project i get this error message Downloading: http://some.repository/id/group/artifactName/${artifact-version}/artifactName-${artifact-version}.pom [INFO] Unable to find resource 'id.group:artifactName:pom:${artifact-version}' in repository SomeRepo (Repo URL) Same error for the try to download the jar file from this project. If i use mvn help:effective-pom the correct values (in this case 7.1) is shown there. If these artifacts are present in my local repository the build will succed, but if i delete the artifact from the localrepository it will not be downloaded again except for the case i replace the property with the actual value in the parent pom. Does someone has an idea of why this happens? Geschaeftsfuehrung/Management Board: Heinz-Josef Boeck (Vorsitzender/CEO), Dr. Dirk Toepfer, Dr. Gerd Wolfram Sitz Duesseldorf, Amtsgericht Duesseldorf, HRB 18232/Commercial Register of the Duesseldorf Local Court, HRB 18232 XXXX This e-mail message is intended exclusively for the addressee. If the e-mail was sent to you by mistake, would you please call us immediately? In this case, we also request you to destroy the e-mail and to neither use the content nor disclose them in any manner to third parties, because the message can contain confidential information which may be protected by professional secrecy.