Maven - Reading a property from an external properties file
问题 I have a property file with the following junit.version=3.8.1 dbcp.version=5.5.27 oracle.jdbc.version=10.2.0.2.0 I try to read those properties from my pom file as shown below <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>dbcp</groupId> <artifactId>dbcp</artifactId> <version>${dbcp.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.oracle</groupId>