I need to pass a Maven variable that sets a directory full path. I have not been able to get this to work with the Maven build runner.
This works from a command line:
maven clean install -P=integration -DconfigDir=`pwd`/config
I have tried the following in "Additional Maven command line parameters" through the Maven build runner:
In each case, the maven-based TeamCity build cannot find the file in the target directory and fails.
How can I set the checkout directory as a variable in a maven parameter?