I am trying to read the versions of the dependencies from the external properties file using "properties-maven-plugin",but the properties are still not getting resolved.
I have tried keeping the phase to pre-clean as well as initialize but it is still not working.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>D:\workspace\dev.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<properties>
<acc.version>${acc.version}</acc.version>
</properties>
<dependency>
<groupId>com.acc</groupId>
<artifactId>accounting</artifactId>
<version>${acc.version}</version>
</dependency>
dev.properties file:
acc.version=1.0