I have a following property declared at my Spring Boot/Maven project:
@Value("${download.folder.path}")
private String downloadFolderPath;
where download.folder.path
is a property declared at my application.properties
file and at Maven profile.
Right now the property value is something like this:
<download.folder.path>d:/somedir</download.folder.path>
Everything works fine but I want to point download.folder.path
property to default system temp folder for my tests instead of providing a real path.
Is it possible with Spring/Maven configuration?