Maven - Access properties on parent pom from a child pom
问题 In a multi module project structure as myApp |-moduleA |---pom.xml |-moduleB |---pom.xml |-pom.xml If i have the following properties in the parent.pom <properties> <moduleA.version>4.67</moduleA.version> <moduleB.version>4.68</moduleB.version> </properties> How can i access the properties in the parent pom from any of the child poms? I tried this on the child pom but it didnt work. <groupId>com.test</groupId> <artifactId>moduleA</artifactId> <version>${moduleA.version}</version> 回答1: If you