Maven filtering in IDEA 10.5.2: settings.localRepository is not substituted
Hi,
I have the following in my pom.xml defined:
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
I have my.properties file in src/test/resources with the following content:
myproperty=${settings.localRepository}/blabla
my.properties file is read by several unit tests. If I execute tests with Maven from the command line, everything works and ${settings.localRepository} is substituted correctly. If I run the same test from IntelliJ IDEA, ${settings.localRepository} is not substituted. Everyother property like ${project.version}, ${project.build.directory} are substituted by IDEA without problems, but not ${settings.localRepository}.
What is the problem there?
Best regards,
Sergiy
Please sign in to leave a comment.
Hi, Sergiy,
please file a bug report here: youtrack.jetbrains.net/issues/#newissue=yes.
Thanks,
Anton Makeev