Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven access system properties within pom

Tags:

maven

While running a maven application I am passing a systemproperty -DconfFolder=c:/config. Within the pom how do I access this value. I want the resource plugin to move some file to this confFolder

like image 323
user373201 Avatar asked Jun 04 '13 13:06

user373201


1 Answers

You can access this value with ${confFolder} inside pom.xml.

Maven Properties.

like image 134
Grzegorz Żur Avatar answered Oct 10 '22 06:10

Grzegorz Żur