Use system properties in Maven test
February 15, 2012 21:26:46 Last update: February 15, 2012 21:26:46
Add configuration variables for the surefire plugin to use system properties in Maven test:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12</version> <configuration> <systemPropertyVariables> <config.home>${project.basedir}/config</config.home> <snother.system.property>dummy value</another.system.property> </systemPropertyVariables> </configuration> </plugin> </plugins> </build>